<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <link rel="canonical" href="https://blog.csdn.net/qq_38680900/article/details/93481544"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="report" content='{"pid":"blog"}'>
    <meta name="referrer" content="always">
    <meta http-equiv="Cache-Control" content="no-siteapp" /><link rel="alternate" media="handheld" href="#" />
    <meta name="shenma-site-verification" content="5a59773ab8077d4a62bf469ab966a63b_1497598848">
        <meta name="csdn-baidu-search"  content='{"autorun":true,"install":true,"keyword":"python入门、基础知识及运行环境布置_Python_qq_38680900的博客-CSDN博客"}'>
    
    <link href="https://csdnimg.cn/public/favicon.ico" rel="SHORTCUT ICON">
    <title>python入门、基础知识及运行环境布置_Python_qq_38680900的博客-CSDN博客</title>
    <meta name="description" content="最近在开始学习python，以下分享一下python的基础知识，包括软件下载，python的基础语法Python">
    <script src='//g.csdnimg.cn/tingyun/1.8.3/blog.js' type='text/javascript'></script>
        
                    <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/detail-075a8c7524.min.css">
                            <script type="application/ld+json">{"@context":"https:\/\/ziyuan.baidu.com\/contexts\/cambrian.jsonld","@id":"https:\/\/blog.csdn.net\/qq_38680900\/article\/details\/93481544","appid":1638831770136827,"title":"python\u5165\u95e8\u3001\u57fa\u7840\u77e5\u8bc6\u53ca\u8fd0\u884c\u73af\u5883\u5e03\u7f6e_Python_qq_38680900\u7684\u535a\u5ba2-CSDN\u535a\u5ba2","pubDate":"2019-06-24T13:56:19","upDate":"2019-06-24T13:56:19"}</script>
    
            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/themes/skin-yellow/skin-yellow-db01cea9f7.min.css">
    
<!--    自定义皮肤样式-->
    
    <script type="text/javascript">
        var username = "qq_38680900";
        var blog_address = "https://blog.csdn.net/qq_38680900";
        var static_host = "https://csdnimg.cn/release/phoenix/";
        var currentUserName = "";
        var isOwner = false;
        var loginUrl = "http://passport.csdn.net/account/login?from=https://blog.csdn.net/qq_38680900/article/details/93481544"
        var blogUrl = "https://blog.csdn.net/";

        var curSkin = "skin-yellow";
        // 收藏所需数据
        var articleTitle = "python入门、基础知识及运行环境布置";
        var articleDesc = "最近在开始学习python，以下分享一下python的基础知识，包括软件下载，python的基础语法Python";

        var articleTitles = "python入门、基础知识及运行环境布置_Python_qq_38680900的博客-CSDN博客";
        
        var nickName = "脚踏实地+仰望星空";
        var isCorporate = false;
        var subDomainBlogUrl = "https://blog.csdn.net/"
        var digg_base_url = "https://blog.csdn.net/qq_38680900";
        var articleDetailUrl = "https://blog.csdn.net/qq_38680900/article/details/93481544";
        var isShowThird = "1"
    </script>
    <script src="https://csdnimg.cn/public/common/libs/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
    <!--js引用-->
            <script src="//g.csdnimg.cn/??fixed-sidebar/1.1.6/fixed-sidebar.js,report/1.4.2/report.js" type="text/javascript"></script>
    <link rel="stylesheet" href="https://csdnimg.cn/public/sandalstrap/1.4/css/sandalstrap.min.css">
    <style>
        .MathJax, .MathJax_Message, .MathJax_Preview{
            display: none
        }
    </style>
</head>
<body class="nodata " > 
    <link rel="stylesheet" href="https://csdnimg.cn/public/common/toolbar/content_toolbar_css/content_toolbar.css">
    <script id="toolbar-tpl-scriptId" src="https://csdnimg.cn/public/common/toolbar/js/content_toolbar.js" type="text/javascript" domain="https://blog.csdn.net/"></script>
    <script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>
<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/blog_code-c3a0c33d5c.css">
<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/vendor/pagination/paging-e040f0c7c8.css">

<script type="text/javascript">
	var NEWS_FEED = function(){}
</script>

<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/chart-3456820cac.css" />
<div class="main_father clearfix d-flex justify-content-center" style="height:100%;"> 
    <div class="container clearfix" id="mainBox">
        <div  class='space_container'></div>
        <main>
            <div class="blog-content-box">
    <div class="article-header-box">
        <div class="article-header">
            <div class="article-title-box">
                <h1 class="title-article">python入门、基础知识及运行环境布置</h1>
            </div>
            <div class="article-info-box">
                <div class="article-bar-top">
                    <!--文章类型-->
                    <span class="article-type type-1 float-left">原创</span>                                                                                                                                            <a class="follow-nickName" href="https://me.csdn.net/qq_38680900" target="_blank" rel="noopener">脚踏实地+仰望星空</a>
                    <span class="time">最后发布于2019-06-24 13:56:19                    </span>
                    <span class="read-count">阅读数 43</span>
                    <a id='blog_detail_zk_collection' data-report-click='{"mod":"popu_823"}'>
                        <svg class="icon">
                            <use xlink:href="#icon-csdnc-Collection-G" ></use>
                        </svg>
                        收藏
                    </a>
                                    </div>
                                <div class="up-time">发布于2019-06-24 13:56:19</div>
                <div class="slide-content-box">
                                                        <div class="tags-box artic-tag-box">
                           <span class="label">分类专栏：</span>
                                                                                             <a class="tag-link" target="_blank" rel="noopener"
                                      href="https://blog.csdn.net/qq_38680900/category_9056955.html">
                                       python                                   </a>
                                                                                  </div>
                                                                                                           <div class="article-copyright">
                        <span class="creativecommons">
                            <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"></a>
                            <span>
                                版权声明：本文为博主原创文章，遵循<a href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener"> CC 4.0 BY-SA </a>版权协议，转载请附上原文出处链接和本声明。                            </span>
                            <div class="article-source-link2222">
                                本文链接：<a href="https://blog.csdn.net/qq_38680900/article/details/93481544">https://blog.csdn.net/qq_38680900/article/details/93481544</a>
                            </div>
                        </span> 
                        </div>
                                                                                </div>
                <div class="operating">
                                                                <a class="href-article-edit slide-toggle">展开</a>
                                    </div>
            </div>
        </div>
    </div>
    <article class="baidu_pl">
        <!--python安装手册开始-->
                <!--python安装手册结束-->
                <!--####专栏广告位图文切换开始-->
                                    <!--####专栏广告位图文切换结束-->
         <div id="article_content" class="article_content clearfix">
            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-833878f763.css" />
                            <link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-833878f763.css" />
                <div class="htmledit_views" id="content_views">
                                            <p>最近在开始学习python，以下分享一下python的基础知识，包括软件下载，python的基础语法知识，以及第三方库的引用等基础知识。</p>

<ol><li>Python快速入门
	<ol><li><span style="color:#cc3300;">认识python</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">诞生于1991年,足足有28年</p>

<p style="margin-left:0cm;">2008年新出炉python3.0</p>

<p style="margin-left:0cm;">python2.x</p>

<p style="margin-left:0cm;">python3.x</p>

<p style="margin-left:0cm;">python之父</p>

<p style="margin-left:0cm;">python改进方案 PEPs.</p>

<p style="margin-left:0cm;">python的改进由PEP流程收集社区意见,将来打算加入的新特性提出文档提案,由社区和Guido审阅评估,决定是否成为正式的PEP 文档,PEP是对python改进遵守的标准</p>

<p style="margin-left:0cm;">PEP8就是程序代码风格 PEP20 python哲学</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="383" src="https://img-blog.csdnimg.cn/20190624133840127.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="657" /></p>

<p style="margin-left:0cm;">经验丰富的程序员倡导尽可能避繁就简。</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="494" src="https://img-blog.csdnimg.cn/20190624133843867.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="688" /></p>

<p style="margin-left:0cm;">import this</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="378" src="https://img-blog.csdnimg.cn/20190624133840256.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="516" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><img alt="http://5b0988e595225.cdn.sohucs.com/images/20181106/950af569c712401394b9c92ff875d93e.jpeg" class="has" id="_x0000_i1079" src="http://5b0988e595225.cdn.sohucs.com/images/20181106/950af569c712401394b9c92ff875d93e.jpeg" /><img alt="http://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20180716/0d08724c252743dc9623d3a4c726400a.jpeg" class="has" id="_x0000_i1078" src="http://5b0988e595225.cdn.sohucs.com/q_70,c_zoom,w_640/images/20180716/0d08724c252743dc9623d3a4c726400a.jpeg" /></p>

<p style="margin-left:0cm;">python蟒蛇取自吉多喜欢的电视剧里面的名字</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">为什么用python</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">Python是一种计算机通用的程序设计语言。现在有多种流行的编程语言，比如控制硬件的C语言，web后台开发的Java语言，网页编程的JavaScript语言等等。但是Python和人工智能及数据科学联系在了一起是因为提供了人工智能及数据科学家所需的所有必要功能，并能够与诸如Hadoop和Spark等工具很好地融合在一起。</p>

<p style="margin-left:0cm;">让我们看看它是如何做到这点的。</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="355" src="https://img-blog.csdnimg.cn/20190624133842760.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="362" /></p>

<p style="margin-left:0cm;">学人工智能数据科学要用到python，这里只是强调了python库的丰富性。开发人员一直在使用python数据包来提供更多的功能，这使python成为一个不错的选择。</p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">python的实现</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">CPython是python的官方参考实现,一般安装python没特别声明,多半是安装CPython,顾名思义用c语言编写的软件产品.</p>

<p style="margin-left:0cm;">python是<span style="color:#0070c0;">解释型语言</span>,不过并非每次都从源码直接解释后再执行,CPython会将源码解释为字节码,然后由虚拟机执行,也就是之后再次执行同一个程序,如果源码文件被检测到没有更改,就不会再对源码重头进行语法和语义解析等操作,而是从字节码开始直接解释,以加快解释执行速度.</p>

<p style="margin-left:0cm;">其他还有 PyPy、Jython等等其他软件产品</p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">下载并安装Anaconda</span>

		<ol><li><span style="color:#2f5496;">安装python（略过）</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">Python有两个版本，一个是2.x版，一个是3.x版，<span style="color:#0070c0;">这两个版本是不兼容的</span>。</p>

<p style="margin-left:0cm;">由于3.x版越来越普及，我们以最新的Python 3.x版本为基础。</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="540" src="https://img-blog.csdnimg.cn/20190624133841710.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="799" /></p>

<p style="margin-left:0cm;">在Python中，安装第三方模块库，是通过包管理工具pip完成的</p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">安装Anaconda</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">Anaconda是一个基于Python的数据处理和科学计算平台，它内置了许多非常有用的第三方库，我们装上Anaconda，就相当于750+流行的Python&amp;R包自动安装好了，跨平台，有可扩展管理工具conda，非常简单易用，免费分发，有非常活跃的社区。</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="426" src="https://img-blog.csdnimg.cn/20190624133843662.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="1146" /></p>

<p style="margin-left:0cm;"><img alt="" class="has" height="362" src="https://img-blog.csdnimg.cn/20190624133841882.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="381" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">Python开发方式有两种：</p>

<ol><li>写程序写在一个文件中然后编译再执行   工具：记事本、pycharm</li>
	<li>交互式编程 写一行代码执行一行 方便调试 工具：终端、jupyter notebook</li>
</ol><p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">使用REPL(python shell)交互式编程</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;"><img alt="" class="has" height="293" src="https://img-blog.csdnimg.cn/20190624133840821.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="637" /></p>

<p style="margin-left:0cm;">_代表上一次的运算结果</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="129" src="https://img-blog.csdnimg.cn/20190624133840704.png" width="835" /></p>

<p style="margin-left:0cm;"><img alt="" class="has" height="162" src="https://img-blog.csdnimg.cn/20190624133840760.png" width="730" /></p>

<p style="margin-left:0cm;">输入 keyword</p>

<p style="margin-left:0cm;">Sum</p>

<p style="margin-left:0cm;">Int</p>

<p style="margin-left:0cm;">float</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><img alt="" class="has" height="186" src="https://img-blog.csdnimg.cn/20190624133840842.png" width="711" /></p>

<ol><li>
	<ol><li><span style="color:#cc3300;">脚本式编程,编写python源码</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;"><img alt="" class="has" height="139" src="https://img-blog.csdnimg.cn/20190624133840994.png" width="418" /></p>

<p style="margin-left:0cm;"><img alt="" class="has" height="114" src="https://img-blog.csdnimg.cn/20190624133840788.png" width="435" /></p>

<p style="margin-left:0cm;"><img alt="" class="has" height="72" src="https://img-blog.csdnimg.cn/20190624133840816.png" width="443" /></p>

<p style="margin-left:0cm;">注意:</p>

<p style="margin-left:0cm;"><span style="color:#0070c0;">python3</span><span style="color:#0070c0;">之后</span> <span style="color:#0070c0;">预期的源码编码必须是</span><span style="color:#0070c0;">utf-8</span></p>

<p style="margin-left:0cm;">python2 预期的源码编码是ascii </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;"># coding, xxx</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;"># -*- coding: GBK -*-</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">编码统一使用UTF-8</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">Notepad++ 设置-&gt;首选项-&gt;新建</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="335" src="https://img-blog.csdnimg.cn/20190624133841392.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="706" /></p>

<p style="margin-left:0cm;">新建文件时注意看右下角</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="67" src="https://img-blog.csdnimg.cn/20190624133840864.png" width="287" /></p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">使用IDE </span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">使用JetBrain公司的python IDE</p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">下载并安装pycharm</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">实验：</p>

<ol><li>安装anaconda  先下载再安装</li>
	<li>安装notepad++ 新建文件设置为utf8</li>
</ol><p style="margin-left:0cm;"> </p>

<ol><li>python类型和运算符
	<ol><li><span style="color:#cc3300;">内建类型</span>

		<ol><li><span style="color:#2f5496;">python是多范式语言:</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">面向过程</p>

<p style="margin-left:0cm;">面向对象</p>

<p style="margin-left:0cm;">函数式</p>

<p style="margin-left:0cm;">所有数据都是对象</p>

<p style="margin-left:0cm;">用直接表示法来编写数值,能用直接表示法来建立实例的类型就是内建类型</p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">数值类型</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;"><span style="color:#0070c0;">所有的数据都是对象</span></p>

<p style="margin-left:0cm;"><span style="color:#0070c0;">用直接表示法编写数值</span><span style="color:#0070c0;">.</span></p>

<p style="margin-left:0cm;">整数类型举例</p>

<pre class="has">
<code>&gt;&gt;&gt; 10

10

&gt;&gt;&gt; 0b1010

10

&gt;&gt;&gt; 0o12

10
&gt;&gt;&gt; 0xa

10

&gt;&gt;&gt; type(10)

&lt;class 'int'&gt;

&gt;&gt;&gt; type(0b1010)

&lt;class 'int'&gt;

&gt;&gt;&gt; int('10')

10

&gt;&gt;&gt; int (3.14)

3

&gt;&gt;&gt; int(True)

1

&gt;&gt;&gt; oct(10)

'0o12'

&gt;&gt;&gt; hex(10)

'0xa'

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">浮点数</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"> </p>

<pre class="has">
<code>&gt;&gt;&gt; type(3.14)
&lt;class 'float'&gt;

&gt;&gt;&gt; 3.14e-10

3.14e-10

&gt;&gt;&gt; float('3.14')

3.14

&gt;&gt;&gt; int('3.14')

Traceback (most recent call last):

  File "&lt;stdin&gt;", line 1, in &lt;module&gt;

ValueError: invalid literal for int() with base 10: '3.14'

&gt;&gt;&gt; int(float('3.14'))

3

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">布尔类型</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;"><span style="color:#0070c0;">True</span></p>

<p style="margin-left:0cm;"><span style="color:#0070c0;">False</span></p>

<p style="margin-left:0cm;">将 <span style="color:#0070c0;">None(</span><span style="color:#0070c0;">类似</span><span style="color:#0070c0;">Null)</span>、False、0、0.0、0j（复数）、’’空字符串、()空元组、[]空列表、{}空字典等传入bool(),都返回False,若这些类型的其他值传入bool(),都返回True.</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; bool(None)

False

&gt;&gt;&gt; bool(0)

False

&gt;&gt;&gt; bool('')

False

&gt;&gt;&gt; bool(0j)

False

&gt;&gt;&gt; bool('hello')
True

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">字符串</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">用’’或””来括住字符串,两者作用相同</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;">用’’或””不可以换行,必须换行用’’’ 三重引号</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; 'farsight'

'farsight'

&gt;&gt;&gt; 'sz"farsight'

'sz"farsight'

&gt;&gt;&gt; print('sz"farsight')

sz"farsight

&gt;&gt;&gt; print('c:\fs')

c:
s

&gt;&gt;&gt; print('c:\\fs')
c:\fs

&gt;&gt;&gt; 'abc

  File "&lt;stdin&gt;", line 1

    'abc

       ^

SyntaxError: EOL while scanning string literal

&gt;&gt;&gt; ''' abc

... def

... hij

... klm

... '''
' abc\ndef \nhij\nklm\n'

&gt;&gt;&gt; print('''abc

... def

... hij''')

abc

def

hij

&gt;&gt;&gt;

</code></pre>

<p style="margin-left:0cm;"><br />
 </p>

<ol><li>
	<ol><li>
		<ol><li>
			<ol><li><span style="color:#833c0b;">格式化字符串</span></li>
			</ol></li>
		</ol></li>
	</ol></li>
</ol><pre class="has">
<code>&gt;&gt;&gt; 'hello,%s world'%'python'

'hello,python world'

&gt;&gt;&gt; '你目前的存款%f'%500.5

'你目前的存款500.500000'

&gt;&gt;&gt; '%d/%d=%f'%(10,3,10/3)

'10/3=3.333333'</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python3建议用的格式</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; '{}/{}={}'.format(10,3,10/3)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">'10/3=3.3333333333333335'</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt;</span></p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li>
			<ol><li><span style="color:#833c0b;">str和byte解决编码问题</span></li>
			</ol></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">python3支持unicode,每个字符都包含了unicode字符</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; text='钟'

&gt;&gt;&gt; len(text) #python3 unicode char

1

&gt;&gt;&gt; text.encode('UTF-8')

b'\xe9\x92\x9f'

&gt;&gt;&gt; text.encode('gbk')

b'\xd6\xd3'

&gt;&gt;&gt; gkb_imp=text.encode('gbk')

&gt;&gt;&gt; gkb_imp

b'\xd6\xd3'

&gt;&gt;&gt; gkb_imp.decode('gbk')

'钟'

&gt;&gt;&gt; gkb_imp.decode('utf-8')

Traceback (most recent call last):

  File "&lt;stdin&gt;", line 1, in &lt;module&gt;

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 0: invalid continuation by

te

&gt;&gt;&gt;

</code></pre>

<p style="margin-left:0cm;">可理解的东西变为不容易理解的东西就是编码 encode,反之decode</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python2用索引获取的字符串值其实是存取某个位置的<span style="color:#0070c0;">字节</span>.</p>

<p style="margin-left:0cm;">python3用索引获取的字符串值其实是存取某个位置的<span style="color:#0070c0;">字符</span>.</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; text='</span><span style="color:#0033cc;">创建不可修改</span><span style="color:#0033cc;">'</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; text[0]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">'</span><span style="color:#0033cc;">创</span><span style="color:#0033cc;">'</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; text[1]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">'</span><span style="color:#0033cc;">建</span><span style="color:#0033cc;">'</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; '</span><span style="color:#0033cc;">建</span><span style="color:#0033cc;">' in text</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">True</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; 'a' in text</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">False</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt;</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python2,3中字符串是不可变动的,一旦创建不可修改</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">群集类型(内建的数据结构)</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">编程过程中需要用不同的数据结构来收集数据,在python不用别的标准库,<span style="color:#0070c0;">语言本身就直接支持</span>,这也是易于使用的原因之一.</p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">列表 </span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">特性有序,具有索引,内容和长度可变.用[]直接表示法,列表每个元素(,)分割开</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;">只有可迭代对象才可创建列表</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums=[1,2,3]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">[1, 2, 3]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; len(nums)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">3</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums[1]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">2</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums[3]=0</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">Traceback (most recent call last):</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">  File "&lt;stdin&gt;", line 1, in &lt;module&gt;</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">IndexError: list assignment index out of range</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums.append(4)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">[1, 2, 3, 4]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums[3]=0</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">[1, 2, 3, 0]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums.remove(0)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">[1, 2, 3]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; del nums[0]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; nums</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">[2, 3]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; 2 in nums</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">True</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">集合</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">内容无序,元素不重复.</p>

<p style="margin-left:0cm;">创建集合用{}包括元素,元素间用(,)分割.</p>

<p style="margin-left:0cm;">注意创建空集合不能用{}</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; type([])</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&lt;class 'list'&gt;</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; type({})</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&lt;class 'dict'&gt;</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user=set()</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; type(user)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&lt;class 'set'&gt;</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user.add('rose')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user.add('jack')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user.add('karl')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{'jack', 'karl', 'rose'}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user.remove('karl')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; 'karl' in user</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">False</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{'jack', 'rose'}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user.add('jack')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user.add('jack')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; user</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{'jack', 'rose'}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt;</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">集合必须保证内容不重复,并非任何元素都可以放到集合,例如列表不行,集合也不行</p>

<p style="margin-left:0cm;">只有hashtable的对象才可以放入集合中</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">可以从其他可迭代对象创建集合</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; set('hello python world')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{'r', 'w', 'p', 'o', 'h', 't', 'y', 'e', 'd', ' ', 'n', 'l'}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; set([1,2,3])</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{1, 2, 3}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt;</span></p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">字典</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">存储两两对应的键与值,即为dict类型.（类似java的map）</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords={'jack':111,'rose':222,'karl':123}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{'jack': 111, 'rose': 222, 'karl': 123}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords['jack']</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">111</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords['rose']=123</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{'jack': 111, 'rose': 123, 'karl': 123}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; 'karl' in passwords</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">True</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords['monica']</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">Traceback (most recent call last):</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">  File "&lt;stdin&gt;", line 1, in &lt;module&gt;</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">KeyError: 'monica'</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords.get('jack')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">111</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords.get('monica')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords.get('monica')==None</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">True</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords.get('monica',333)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">333</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt;</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">遍历字典怎么做?</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; list(passwords.items())</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">[('jack', 111), ('rose', 123), ('karl', 123)]</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; list(passwords.keys())</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">['jack', 'rose', 'karl']</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; list(passwords.values())</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">[111, 123, 123]</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">除了直接表示法,可用dict()创建字典</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords=dict(rose='aaa',jack=123,karl=456)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; passwords</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{'rose': 'aaa', 'jack': 123, 'karl': 456}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt;</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">元组 </span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">很像列表,不过元组创建后不能变动了,创建元组很简单,只要在某个值后面加上一个(,)即可</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; 10,

(10,)

&gt;&gt;&gt; 1,2,3

(1, 2, 3)

&gt;&gt;&gt; hello=1,'ok',True,3.14

&gt;&gt;&gt; hello

(1, 'ok', True, 3.14)

&gt;&gt;&gt; type(hello)

&lt;class 'tuple'&gt;

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">注意只包含一个元素的元组,不写成(元素),而是写成 “元素,” 或”(元素,)”</p>

<p style="margin-left:0cm;">创建空元组可写成”()”</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">元组创建后元素不能修改</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; var=(1,2,3)

&gt;&gt;&gt; var[0]

1

&gt;&gt;&gt; var[1]

2

&gt;&gt;&gt; var[1]=100

Traceback (most recent call last):

  File "&lt;stdin&gt;", line 1, in &lt;module&gt;

TypeError: 'tuple' object does not support item assignment

&gt;&gt;&gt; var

(1, 2, 3)

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li>
			<ol><li><span style="color:#833c0b;">元组有什么用?</span></li>
			</ol></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">有时想返回一组值,不想特定自定义一个类型,例如数据库查询,传入某个函数不用修改传入的数据,元组占内存空间小</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">记得吗?元组括号可省略</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; data=(1,'robin',True)

&gt;&gt;&gt; id,name,gender=data

&gt;&gt;&gt; id

1

&gt;&gt;&gt; name

'robin'

&gt;&gt;&gt; gender

True

&gt;&gt;&gt;

</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">置换变量操作,是python 元组拿来津津乐道的地方</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; x=100

&gt;&gt;&gt; y=200

&gt;&gt;&gt; z=x

&gt;&gt;&gt; x=y

&gt;&gt;&gt; y=z

&gt;&gt;&gt; x

200

&gt;&gt;&gt; y

100

&gt;&gt;&gt; x,y=y,x

&gt;&gt;&gt; x

100

&gt;&gt;&gt; y

200

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li>
			<ol><li><span style="color:#833c0b;">拆解元素给变量赋值的特性</span></li>
			</ol></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">无论python2,3在元组,列表,集合等对象上都可使用.</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; x,y,z=[5,6,7]

&gt;&gt;&gt; x

5

&gt;&gt;&gt; y

6

&gt;&gt;&gt; z

7

&gt;&gt;&gt; a,*b = (1,2,3,4,5)

&gt;&gt;&gt; a
1

&gt;&gt;&gt; b

[2, 3, 4, 5]

&gt;&gt;&gt; a,*b,c=[1,2,3,4,5]

&gt;&gt;&gt; a

1

&gt;&gt;&gt; b

[2, 3, 4]

&gt;&gt;&gt; c

5

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">变量</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">前面已经使用过变量,现在进一步认识变量</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; radius=1

&gt;&gt;&gt; PI=3.14

&gt;&gt;&gt; print('圆的半径',radius)

圆的半径 1

&gt;&gt;&gt; print('圆的周长',2*PI*radius)

圆的周长 6.28

&gt;&gt;&gt; radius=10

&gt;&gt;&gt; print('圆的半径',radius)

圆的半径 10

&gt;&gt;&gt; print('圆的周长',2*PI*radius)

圆的周长 62.800000000000004

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python是<span style="color:#0000FF;">动态类型的语言</span>,变量本身没有类型的信息,创建变量没有声明类型</p>

<p style="margin-left:0cm;">变量没有赋值会发生NameError错误</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; XXX

Traceback (most recent call last):

  File "&lt;stdin&gt;", line 1, in &lt;module&gt;

NameError: name 'XXX' is not defined

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">python</span><span style="color:#0000FF;">中变量始终是个引用到实际对象的名称</span><span style="color:#0000FF;">,</span><span style="color:#0000FF;">赋值运算只是改变变量的引用对象</span></p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; x=1.23

&gt;&gt;&gt; y=x

&gt;&gt;&gt; print(id(x),id(y))

5841616 5841616

&gt;&gt;&gt; y=12.3

&gt;&gt;&gt; print(id(y))

5841592

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">id()函数获取变量引用的对象的内存地址</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; x=x+1

&gt;&gt;&gt; print(id(x))

5841568

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;">x引用了不同的对象</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">x,y引用同一个对象,x[0]修改y就会看到修改的元素.</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; x=[1,2,3]

&gt;&gt;&gt; y=x

&gt;&gt;&gt; x[0]=100

&gt;&gt;&gt; y

[100, 2, 3]

&gt;&gt;&gt;

== 比较两个对象的内容是否相等

o1 is o2 比较对象的引用

&gt;&gt;&gt; list1=[1,2,3]

&gt;&gt;&gt; list2=[1,2,3]
&gt;&gt;&gt; id(list1)

43893832

&gt;&gt;&gt; id(list2)

43893768

&gt;&gt;&gt; list1==list2

True

&gt;&gt;&gt; list1 is list2

False

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">变量本身没有类型,同一个变量可以前后赋予不同类型的数据类型,若要操作对象的某个方法,只要确认该对象上有该方法即可.</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; x=[1,2,3]

&gt;&gt;&gt; x.index(2)

1

&gt;&gt;&gt; x=(1,2,3)

&gt;&gt;&gt; x.index(2)

1

&gt;&gt;&gt; x=123

&gt;&gt;&gt; x.index(2)

Traceback (most recent call last):

  File "&lt;stdin&gt;", line 1, in &lt;module&gt;

AttributeError: 'int' object has no attribute 'index'
&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">动态类型的语言流行的鸭子类型</span>:走路像个鸭子,游泳像个鸭子,叫声像个鸭子,那就是鸭子.</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">一个对象有几个名称引用它</p>

<p style="margin-left:0cm;">举例</p>

<pre class="has">
<code>&gt;&gt;&gt; import sys

&gt;&gt;&gt; x=[10,20,30]

&gt;&gt;&gt; y=x

&gt;&gt;&gt; sys.getrefcount(x)

3

&gt;&gt;&gt; del x

&gt;&gt;&gt; x

Traceback (most recent call last):

  File "&lt;stdin&gt;", line 1, in &lt;module&gt;

NameError: name 'x' is not defined

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">变量不再需要可删除它</p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">运算符</span>

		<ol><li><span style="color:#2f5496;">算术运算符</span></li>
		</ol></li>
	</ol></li>
</ol><pre class="has">
<code>&gt;&gt;&gt; 2**3

8

&gt;&gt;&gt; 10//3

3

&gt;&gt;&gt; text1='far'

&gt;&gt;&gt; text2='sight'

&gt;&gt;&gt; text1+text2

'farsight'

&gt;&gt;&gt; text1*10

'farfarfarfarfarfarfarfarfarfar'

&gt;&gt;&gt; '999'+1

Traceback (most recent call last):

  File "&lt;stdin&gt;", line 1, in &lt;module&gt;

TypeError: must be str, not int

&gt;&gt;&gt; int('999')+1

1000

&gt;&gt;&gt; '999'+str(1)

'9991'

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">字符串不可变动,+字符串产生新的字符串</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">列表类似字符串</p>

<pre class="has">
<code>&gt;&gt;&gt; nums1=['one','two']

&gt;&gt;&gt; nums2=['three','four']

&gt;&gt;&gt; nums1+nums2

['one', 'two', 'three', 'four']

&gt;&gt;&gt; nums1*3

['one', 'two', 'one', 'two', 'one', 'two']
&gt;&gt;&gt; nums3=[nums1,nums2]

&gt;&gt;&gt; nums3

[['one', 'two'], ['three', 'four']]

&gt;&gt;&gt; nums1[0],nums1[1]='1','2'

&gt;&gt;&gt; nums3

[['1', '2'], ['three', 'four']]

&gt;&gt;&gt;

复制的引用不是元素本身

&gt;&gt;&gt; nums1=['one','two']

&gt;&gt;&gt; nums2=['three','four']

&gt;&gt;&gt; numtp=(nums1,nums2)

&gt;&gt;&gt; numtp

(['one', 'two'], ['three', 'four'])

&gt;&gt;&gt; nums1=['1','2']

&gt;&gt;&gt; numtp[0]=['1','2']

Traceback (most recent call last):

  File "&lt;stdin&gt;", line 1, in &lt;module&gt;

TypeError: 'tuple' object does not support item assignment

&gt;&gt;&gt; nums1[0],nums1[1]='one','two'

&gt;&gt;&gt; numtp

(['one', 'two'], ['three', 'four'])

&gt;&gt;&gt;</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">元组也和列表类似,元组本身结构不可变动,但里面的元素可变动</p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">比较运算符</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">==,!=比较对象实际的值</p>

<p style="margin-left:0cm;">is,is not 比较对象的引用是否相等</p>

<pre class="has">
<code>&gt;&gt;&gt; x=1

&gt;&gt;&gt; y=2

&gt;&gt;&gt; x&gt;y

False

&gt;&gt;&gt; x&lt;y

True

&gt;&gt;&gt; z=0

&gt;&gt;&gt; z&lt;x and x&lt;y

True

&gt;&gt;&gt; z&lt;x&lt;y

True

&gt;&gt;&gt;</code></pre>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">逻辑运算符</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;">Hello2.py</p>

<pre class="has">
<code>import sys

s0=sys.argv[0] #必须以脚本文件形式运行

s1=sys.argv[1]

s2=sys.argv[2]

print(s0)

print(s1)

print(s2)

print('两个字符串都是大写？', s1.isupper() and s2.isupper())
</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">索引切片运算</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">在python内建类型中,只要具有索引特性,基本上都能进行切片运算.</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="422" src="https://img-blog.csdnimg.cn/20190624133841738.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="479" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">[start:end]  包括start不包括end</p>

<p style="margin-left:0cm;">[start:] 只指定start</p>

<p style="margin-left:0cm;">[:end]只指定结尾end 不包括end</p>

<p style="margin-left:0cm;">[:] 不指定就是复制</p>

<p style="margin-left:0cm;">正索引是正偏移值</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="180" src="https://img-blog.csdnimg.cn/20190624133840970.png" width="412" /></p>

<p style="margin-left:0cm;">负索引是负偏移值,-1索引是倒数第1个元素,-2是倒数第2个</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="420" src="https://img-blog.csdnimg.cn/20190624133841376.png" width="290" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">[start:end:step] step间隔step元素的内容 <span style="color:#0000FF;">省略</span><span style="color:#0000FF;">step</span><span style="color:#0000FF;">相当于使用</span><span style="color:#0000FF;">1</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><img alt="" class="has" height="392" src="https://img-blog.csdnimg.cn/20190624133841392.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="336" /></p>

<p style="margin-left:0cm;">使用[:]注意:只是<span style="color:#0000FF;">浅拷贝</span>,复制元素只是复制元素的引用,不是复制整个元素</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><img alt="" class="has" height="310" src="https://img-blog.csdnimg.cn/20190624133841440.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="409" /></p>

<p style="margin-left:0cm;">列表是可变动结构,切片运算可取代元素</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="371" src="https://img-blog.csdnimg.cn/20190624133841434.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="371" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">删除某段元素,可用del</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="161" src="https://img-blog.csdnimg.cn/20190624133840994.png" width="347" /></p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">使用数据分析/人工智能用的IDE工具Jupyter Notebook</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">Jupyter Notebook是一个强大的交互式shell，采用<span style="color:#0000FF;">ipython</span><span style="color:#0000FF;">做内核</span>，支持交互是数据分析和可视化，采用一个开源的<span style="color:#0000FF;">web</span><span style="color:#0000FF;">应用</span>，可创建和分享包含代码、视图、注释的文档。可用于数据统计、分析、建模、机器学习等领域。</p>

<p style="margin-left:0cm;">Jupyter Notebook编写的内容保存在.ipynb的文件中，可读取在线的csv/xls文件，可转换成其他（py、html、pdf等格式）的文件。</p>

<p style="margin-left:0cm;">选择你要保存路径，再启动jupyter notebook命令:</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="178" src="https://img-blog.csdnimg.cn/20190624133841255.png" width="679" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">两个状态</p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">绿色编辑状态</span><span style="color:#0000FF;">:</span><span style="color:#0000FF;">编写代码</span>  <span style="color:#0000FF;">切换到命令状态</span> <span style="color:#0000FF;">按</span><span style="color:#0000FF;">esc</span><span style="color:#0000FF;">键</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">蓝色命令状态</span>(不可编辑)</p>

<p style="margin-left:0cm;">切换到编辑状态按回车</p>

<p style="margin-left:0cm;">按x删除该行</p>

<p style="margin-left:0cm;">添加一行 a、b</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="81" src="https://img-blog.csdnimg.cn/20190624133840973.png" width="271" /></p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">运行代码</span><span style="color:#0000FF;"> shift+enter</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>流程语句和函数
	<ol><li><span style="color:#cc3300;">if分支判断</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">在python中<span style="color:#0000FF;">一个程序区块使用</span><span style="color:#0000FF;">(:)</span><span style="color:#0000FF;">开头</span><span style="color:#0000FF;">,</span><span style="color:#0000FF;">之后同一区块有相同的缩进排列</span><span style="color:#0000FF;">,</span>不可混用不同空格数量,不可混用空格与Tab,<span style="color:#0000FF;">python</span><span style="color:#0000FF;">建议用</span><span style="color:#0000FF;">4</span><span style="color:#0000FF;">个空格作为为缩进</span>.</p>

<p style="margin-left:0cm;">Notepad++设置</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="357" src="https://img-blog.csdnimg.cn/2019062413384222.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="842" /></p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">同一区块必须要有相同缩进</span></p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;">Hello3.py</p>

<pre class="has">
<code>import sys  #导入一个sys名称

name='guest'

#print(type(sys.argv))

if len(sys.argv) &gt; 1: #命令行参数

   name = sys.argv[1] #导入就可使用argv

   name = name+'!'

print('hello ',name)</code></pre>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">在Python中，一个.py文件就称之为一个模块（Module）</p>

<p style="margin-left:0cm;">Python本身就内置了很多非常有用的模块，只要安装完毕，这些模块就可以立刻使用。</p>

<p style="margin-left:0cm;">以内建的sys模块为例</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;">Hello4.py</p>

<pre class="has">
<code>import sys

num = int(sys.argv[1])

if num % 2:

   print('{}为奇数'.format(num))

else:

   print('{}为偶数'.format(num))</code></pre>

<p style="margin-left:0cm;">elif是else if的缩写，完全可以有多个elif</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">age = 8</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">if age &gt;= 18:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('</span><span style="color:#0033cc;">成人</span><span style="color:#0033cc;">')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">elif age &gt;= 6:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('</span><span style="color:#0033cc;">少年</span><span style="color:#0033cc;">')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">else:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('</span><span style="color:#0033cc;">幼儿</span><span style="color:#0033cc;">')</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python if...else表达式语句</p>

<p style="margin-left:0cm;">hello5.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">import sys</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">num = int(sys.argv[1])</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">print('{}</span><span style="color:#0033cc;">为</span><span style="color:#0033cc;">{}'.format(num,'</span><span style="color:#0033cc;">奇数</span><span style="color:#0033cc;">' if num % 2 else '</span><span style="color:#0033cc;">偶数</span><span style="color:#0033cc;">' ))</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python无switch语句</p>

<ol><li>
	<ol><li><span style="color:#cc3300;">while循环</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">n = int(input('</span><span style="color:#0033cc;">输入一个大于</span><span style="color:#0033cc;">2</span><span style="color:#0033cc;">的整数：</span><span style="color:#0033cc;">'))</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">print('</span><span style="color:#0033cc;">计算</span><span style="color:#0033cc;">1+2+...{}'.format(n))</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">sum = 0</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">while n &gt; 0:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    sum = sum + n</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    n = n - 1</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">print(sum)</span></p>

<ol><li>
	<ol><li><span style="color:#cc3300;">for in 迭代</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">若要按序迭代某个序列,例如字符串,列表,元组可用for in语句</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;">hello6.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">import sys</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">for arg in sys.argv:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">   print(arg.upper())</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><img alt="" class="has" height="114" src="https://img-blog.csdnimg.cn/20190624133841147.png" width="817" /></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">name = 'farsight'</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">for c in name:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print(c)</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">pwds={'key1':123,'key2':456}</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">for key,value in pwds.items():</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print(key,value)</span></p>

<p style="margin-left:0cm;">不是所有对象都可迭代,只有实现__iter__()方法的对象,通过调用__iter__()方法返回一个迭代器可用for in来迭代</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">range类 创建迭代对象 迭代索引用的</p>

<p style="margin-left:0cm;"> range(stop) -&gt; range object   range(10)  迭代从0到9</p>

<p style="margin-left:0cm;"> range(start, stop[, step]) -&gt; range object</p>

<p style="margin-left:0cm;">start默认为0 stop不包括stop值 step默认为1</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">for i in range(0,10,2):</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print(i)</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">name ='farsight'</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">for i in range(len(name)):</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print(i,name[i])</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">pass、break、continue</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">pass就是什么都不做，维护代码结构的完整性</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="184" src="https://img-blog.csdnimg.cn/20190624133841150.png" width="200" /></p>

<ol><li>
	<ol><li><span style="color:#cc3300;">for Comprehension</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">递推式构造列表(列表生成器)</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">经常会出现将一个列表转换为另一个列表的常见操作</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="306" src="https://img-blog.csdnimg.cn/20190624133841687.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="464" /></p>

<p style="margin-left:0cm;">for comprehension也可和条件判断式结合,构成过滤功能,收集某个列表中的元素到另一个列表中</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="254" src="https://img-blog.csdnimg.cn/20190624133841513.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="439" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">嵌套用法</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="338" src="https://img-blog.csdnimg.cn/20190624133841515.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="414" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">两个序列的排序组合</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">创建集合</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="151" src="https://img-blog.csdnimg.cn/20190624133841466.png" width="652" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">创建字典</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="189" src="https://img-blog.csdnimg.cn/20190624133841970.png" width="578" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>1day回顾</li>
</ol><p style="margin-left:0cm;">环境搭建 </p>

<p style="margin-left:0cm;">安装 anaconda/ jupyter notebook/notepad++</p>

<p style="margin-left:0cm;">为什么要学python</p>

<p style="margin-left:0cm;">python 数据类型 int  float  bool  str  list  set  tuple dict </p>

<p style="margin-left:0cm;">python 运算符  算术 比较  逻辑</p>

<p style="margin-left:0cm;">流程语句 if while for in</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>定义函数</li>
</ol><p style="margin-left:0cm;">学会流程语句后可写一些小程序,根据不同条件计算结果,你会发现一些程序片段一用再用,老复制粘贴修改变量名称很笨拙,可复用的程序片段定义为函数</p>

<ol><li>
	<ol><li><span style="color:#cc3300;">使用def定义函数</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;">无return 或无返回值 默认返回None</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="170" src="https://img-blog.csdnimg.cn/20190624133841499.png" width="349" /></p>

<p style="margin-left:0cm;"><img alt="" class="has" height="189" src="https://img-blog.csdnimg.cn/20190624133841795.png" width="561" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">在python中函数可以定义函数叫函数嵌套 （类似 javascript）</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="227" src="https://img-blog.csdnimg.cn/2019062413384259.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="490" /></p>

<ol><li>
	<ol><li><span style="color:#cc3300;">参数和自变量</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">python 不支持重载,同一个命名空间不能有相同的函数名,如果定义了两个函数具有相同名称,但拥有不同参数个数,<span style="color:#0000FF;">之后定义的函数会覆盖之前定义的函数</span></p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="307" src="https://img-blog.csdnimg.cn/20190624133842251.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="644" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">实际上第一次运行就覆盖了标准链接库内建的sum()函数</p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">参数默认值</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;"><img alt="" class="has" height="245" src="https://img-blog.csdnimg.cn/20190624133842221.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="544" /></p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">关键词自变量</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="163" src="https://img-blog.csdnimg.cn/20190624133841996.png" width="548" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">*与**</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">*参数个数不确定且按迭代处理参数的场合</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="263" src="https://img-blog.csdnimg.cn/20190624133841775.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="328" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">**传字典按键的名称赋值给对应参数名称</p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="336" src="https://img-blog.csdnimg.cn/20190624133842285.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="492" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">设计一个函数接收任意自变量,可在一个函数中同时用**与*</p>

<pre style="margin-left:0cm;">
<span style="color:#000000;">举例</span></pre>

<pre style="margin-left:0cm;">
</pre>

<pre style="margin-left:0cm;">

 </pre>

<pre style="margin-left:0cm;">

 </pre>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">函数也是对象</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;">函数是一个值,一个对象是function的实例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="243" src="https://img-blog.csdnimg.cn/20190624133841865.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="325" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">2day 上午</p>

<p style="margin-left:0cm;">切片操作</p>

<p style="margin-left:0cm;">列表生成器</p>

<p style="margin-left:0cm;">函数</p>

<p style="margin-left:0cm;">参数自变量</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">变量作用域</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">一个名称赋值就是变量,创建自己的作用域,存取变量就看当前作用域是否有指定的名称,<span style="color:#0000FF;">若无向外寻找</span></p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="296" src="https://img-blog.csdnimg.cn/2019062413384296.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="301" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">变量可以在内建、全局、外部函数、内部函数中寻找或创建</p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">寻找的顺序从里到外</span></p>

<p style="margin-left:0cm;">举例</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="448" src="https://img-blog.csdnimg.cn/20190624133841951.png" width="269" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python中的全局变量是以模块文件为界</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">使用pycharm IDE </span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">Jetbrain公司创建很多神器 </p>

<p style="margin-left:0cm;">步骤</p>

<ol><li>创建工程</li>
	<li>File-&gt;settings-&gt;projcect:xxx-&gt;</li>
</ol><p style="margin-left:0cm;"><img alt="" class="has" height="451" src="https://img-blog.csdnimg.cn/20190624133842797.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="745" /></p>

<p style="margin-left:0cm;">projcect interpreter 指定anaconda安装路径</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="235" src="https://img-blog.csdnimg.cn/20190624133842462.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="689" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">修改字体大小</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="324" src="https://img-blog.csdnimg.cn/20190624133842505.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="677" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">初识模块和软件包</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">新手通常只要一个.py文件就可应付各种例子程序的编写.而实际的应用代码量要多得多,一个.py文件编写势必造成混乱.</p>

<p style="margin-left:0cm;">必须根据功能将程序划分到不同的模块(Module)中编写,对于功能相近或彼此辅助的模块,可用软件包来管理</p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">模块简介</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">其实你已编写过模块了,每个.py文件本身就是一个模块.例如你编写一个.py文件,打算给别人用只需要在他编写的.py文件中导入即可</p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">每个</span><span style="color:#0000FF;">.py</span><span style="color:#0000FF;">文件的文件名就是模块名称</span><span style="color:#0000FF;">,</span>要导入模块时必须用import关键词指定模块名称.</p>

<p style="margin-left:0cm;">若要引用模块中定义的名称,则必须在名称前加上模块名称与一个”.”符号.</p>

<p style="margin-left:0cm;">hello.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">name = input('</span><span style="color:#0033cc;">输入你的名字</span><span style="color:#0033cc;">:')<br />
print('</span><span style="color:#0033cc;">你好</span><span style="color:#0033cc;">:',name,'!')</span></p>

<p style="margin-left:0cm;">test.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">import hello<br />
print('</span><span style="color:#0033cc;">你是</span><span style="color:#0033cc;">..',hello.name,'!')</span></p>

<p style="margin-left:0cm;">查看.py文件所在目录,会多一个</p>

<p style="margin-left:0cm;"><span style="color:#FF0000;">\__pycache__</span><span style="color:#FF0000;">目录</span>,当中会有.pyc文件,这是cpython将.py编译后的<span style="color:#FF0000;">字节码文件</span>,之后再次导入同一个模块,检测源码没修改过,不会再次编译,直接从字节码开始解释,<span style="color:#FF0000;">加快解释执行速度</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python提供了标准链接库，如果需要这些链接库中某个模块功能，可将模块导入。</p>

<p style="margin-left:0cm;">例如：</p>

<p style="margin-left:0cm;">import sys后必须用sys.argv来引用</p>

<p style="margin-left:0cm;">welcome.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">import sys<br />
print('</span><span style="color:#0033cc;">欢迎</span><span style="color:#0033cc;">..',sys.argv[1])</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">要用多个模块要</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">import sys, email</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">有些函数和类经常使用,每次导入麻烦,被整理在一个叫<strong><span style="color:#FF0000;">__builtins__</span></strong>模块中的函数、类可不用import导入而直接引用，不用加上模块名称，例如pirnt()  input()等函数</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python中的print名称属于内建作用域,在python中有个builtins模块,该模块中的名称作用域横跨各个模块</p>

<p style="margin-left:0cm;">要知道一个模块有哪些名称,用dir</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; import builtins</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt; dir(builtins)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException', 'BlockingIOError', 'BrokenPipeError',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;"> 'BufferError', 'BytesWarning', 'ChildProcessError', 'ConnectionAbortedError', 'ConnectionError', 'ConnectionR</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">efusedError', 'ConnectionResetError', 'DeprecationWarning', 'EOFError', 'Ellipsis', 'EnvironmentError', 'Excep</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">tion', 'False', 'FileExistsError', 'FileNotFoundError', 'FloatingPointError', 'FutureWarning', 'GeneratorExit'</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">, 'IOError', 'ImportError', 'ImportWarning', 'IndentationError', 'IndexError', 'InterruptedError', 'IsADirecto</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">ryError', 'KeyError', 'KeyboardInterrupt', 'LookupError', 'MemoryError', 'ModuleNotFoundError', 'NameError', '</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">None', 'NotADirectoryError', 'NotImplemented', 'NotImplementedError', 'OSError', 'OverflowError', 'PendingDepr</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">ecationWarning', 'PermissionError', 'ProcessLookupError', 'RecursionError', 'ReferenceError', 'ResourceWarning</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">', 'RuntimeError', 'RuntimeWarning', 'StopAsyncIteration', 'StopIteration', 'SyntaxError', 'SyntaxWarning', 'S</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">ystemError', 'SystemExit', 'TabError', 'TimeoutError', 'True', 'TypeError', 'UnboundLocalError', 'UnicodeDecod</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">eError', 'UnicodeEncodeError', 'UnicodeError', 'UnicodeTranslateError', 'UnicodeWarning', 'UserWarning', 'Valu</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">eError', 'Warning', 'WindowsError', 'ZeroDivisionError', '__build_class__', '__debug__', '__doc__', '__import_</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">_', '__loader__', '__name__', '__package__', '__spec__', 'abs', 'all', 'any', 'ascii', 'bin', 'bool', 'bytearr</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">ay', 'bytes', 'callable', 'chr', 'classmethod', 'compile', 'complex', 'copyright', 'credits', 'delattr', '</span><span style="color:#c45911;">dict</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">', 'dir', 'divmod', 'enumerate', 'eval', 'exec', 'exit', 'filter', '</span><span style="color:#c45911;">float</span><span style="color:#0033cc;">', 'format', 'frozenset', 'getattr',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">'globals', 'hasattr', 'hash', 'help', '</span><span style="color:#c45911;">hex</span><span style="color:#0033cc;">', '</span><span style="color:#c45911;">id</span><span style="color:#0033cc;">', '</span><span style="color:#c45911;">input</span><span style="color:#0033cc;">', '</span><span style="color:#c45911;">int</span><span style="color:#0033cc;">', 'isinstance', 'issubclass', 'iter', 'len',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">'license', '</span><span style="color:#c45911;">list</span><span style="color:#0033cc;">', 'locals', 'map', 'max', 'memoryview', 'min', 'next', 'object', '</span><span style="color:#c45911;">oct</span><span style="color:#0033cc;">', 'open', 'ord', 'pow',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;"> '</span><span style="color:#c45911;">print</span><span style="color:#0033cc;">', 'property', 'quit', 'range', 'repr', 'reversed', 'round', 'set', 'setattr', 'slice', 'sorted', 'stat</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">icmethod', 'str', 'sum', 'super', '</span><span style="color:#c45911;">tuple</span><span style="color:#0033cc;">', '</span><span style="color:#c45911;">type</span><span style="color:#0033cc;">', 'vars', '</span><span style="color:#c45911;">zip</span><span style="color:#0033cc;">']</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">&gt;&gt;&gt;</span></p>

<p style="margin-left:0cm;">python中可直接使用的函数,其名称都是在builtins模块中.</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">#!/usr/bin/env python3      </span><span style="color:#666666;">直接在</span><span style="color:#666666;">Unix/Linux/Mac</span><span style="color:#666666;">上运行</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;"># -*- coding: utf-8 -*-   </span><span style="color:#666666;">使用标准</span><span style="color:#666666;">UTF-8</span><span style="color:#666666;">编码</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;"># encoding: utf-8</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">' a test module '</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">__author__ = 'robin' </span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">import sys</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">def test(args=None):</span></p>

<p style="margin-left:0cm;">   </p>

<p style="margin-left:0cm;">   </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    if args==1:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        print('Hello, world!')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    elif args==2:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        print('Hello, python world')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    elif args==None:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        print('Hello None')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    else:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        print('the argument is too large!')</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">if __name__=='__main__':  </span></p>

<p style="margin-left:0cm;"><span style="color:#666666;">在命令行运行</span><span style="color:#666666;">hello</span><span style="color:#666666;">模块文件时，</span><span style="color:#666666;">Python</span><span style="color:#666666;">解释器把一个特殊变量</span><span style="color:#666666;">__name__</span><span style="color:#666666;">置为</span><span style="color:#666666;">__main__</span></p>

<p style="margin-left:0cm;"><span style="color:#666666;">如果在其他地方导入该</span><span style="color:#666666;">hello</span><span style="color:#666666;">模块时，</span><span style="color:#666666;">if</span><span style="color:#666666;">判断将失败最常见的就是运行测试</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    test(1)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    test(2)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    test()</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    test(3)</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">小结:</p>

<p style="margin-left:0cm;">一个py文件对应一个模块</p>

<p style="margin-left:0cm;">内建模块的函数,类不用import 直接使用</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">函数封装了代码</p>

<p style="margin-left:0cm;">模块封装了变量,函数,类</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">用软件包管理模块</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">现在可将所写代码放在各个模块之中,源码管理好一些,但不是很好,如同你会分不同目录(文件夹)存放不同作用的文件一样,模块应该分门别类存放.</p>

<p style="margin-left:0cm;">例如A部门写util模块 B部门写util模块</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">在pycharm中创建python package指定一个包名(创建目录/文件夹) 并一定要有一个__init__.py文件,这样目录(文件夹)才会被视为一个软件包</p>

<p style="margin-left:0cm;">\a\hello.py</p>

<p style="margin-left:0cm;">\a\<span style="color:#0000FF;">__init__.py</span></p>

<p style="margin-left:0cm;">\b\welcome.py</p>

<p style="margin-left:0cm;">\b\<span style="color:#0000FF;">__init__.py</span></p>

<p style="margin-left:0cm;">   </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">pycharm中</p>

<p style="margin-left:0cm;">选中工程-&gt;右键-&gt;new-&gt;python package</p>

<p style="margin-left:0cm;">创建a包和b包</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="275" src="https://img-blog.csdnimg.cn/20190624133842200.png" width="251" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">hello.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">name = input('</span><span style="color:#0033cc;">输入你的名字</span><span style="color:#0033cc;">:')<br />
print('</span><span style="color:#0033cc;">你好</span><span style="color:#0033cc;">:',name,'!')</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">welcome.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">import sys<br />
def disp():<br />
    print('</span><span style="color:#0033cc;">欢迎</span><span style="color:#0033cc;">..',sys.argv[1]) #</span><span style="color:#0033cc;">需要接收命令行参数</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">test.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">import a.hello<br />
import b.welcome<br />
print('</span><span style="color:#0033cc;">你是</span><span style="color:#0033cc;">..',a.hello.name,'!')<br />
b.welcome.disp()</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">软件包成为命名空间的一部分</p>

<p style="margin-left:0cm;">命名空间层次：</p>

<p style="margin-left:0cm;">变量、函数、类</p>

<p style="margin-left:0cm;">模块文件 内建不用import</p>

<p style="margin-left:0cm;">软件包  必须有__init__.py 无不是软件包</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">在安装python时</p>

<p style="margin-left:0cm;">lib目录:包括了许多标准链接库的源码文件  包含在sys.path中,这个目录用了一些软件包来管理模块</p>

<p style="margin-left:0cm;">C:\Users\liang\Anaconda3\Lib</p>

<p style="margin-left:0cm;">site-package目录:安装python第三方程序库 也包含在sys.path中</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">使用import as 与from import</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">软件包解决了文件与import模块命名空间的问题,但编写冗长可以简化</p>

<p style="margin-left:0cm;">用import as 将模块重命名</p>

<p style="margin-left:0cm;">test2.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">import  a.hello as hel<br />
import b.welcome as wel<br />
print('</span><span style="color:#0033cc;">你是</span><span style="color:#0033cc;">..',hel.name,'!')<br />
wel.disp()</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">如果你觉得模块重命名仍嫌麻烦可用from import 直接将模块名字导入</p>

<p style="margin-left:0cm;">test3.py</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">from sys import argv<br />
from a.hello import name<br />
from b.welcome import disp<br />
print('hello,',argv[1],'!') #</span><span style="color:#0033cc;">需要接收命令行参数</span><br /><span style="color:#0033cc;">print('</span><span style="color:#0033cc;">你是</span><span style="color:#0033cc;">..',name,'!')<br />
disp()</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">还有别的用法</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">from sys import argv,path<br />
#from sys import *<br />
from a.hello import name<br />
from b.welcome import disp<br />
print('hello,',argv[1],'!')<br />
print('</span><span style="color:#0033cc;">你是</span><span style="color:#0033cc;">..',name,'!')<br />
disp()<br />
print(path)</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">from import用法容易引起冲突</p>

<p style="margin-left:0cm;"> </p>

<ol><li>面向对象</li>
</ol><p style="margin-left:0cm;">python是多范式语言:</p>

<p style="margin-left:0cm;">面向过程</p>

<p style="margin-left:0cm;">面向对象</p>

<p style="margin-left:0cm;">函数式</p>

<ol><li>
	<ol><li><span style="color:#cc3300;">python封装机制</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">函数封装了算法的流程细节</p>

<p style="margin-left:0cm;">模块封装了python的一个抽象层</p>

<p style="margin-left:0cm;">例如内建的math模块,解决科学计算</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">import某个模块会使得.py文件被加载,python解释器会为它创建一个module实例,并创建一个模块名称引用它,dir(math)实际上是查询math名称引用的module实例的上有哪些属性名称可存取</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">定义类</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">当你打算将对象的状态和功能”粘”在一起时,就是定义类</p>

<p style="margin-left:0cm;">设计一个银行业务相关的程序</p>

<p style="margin-left:0cm;">具有创建账户、存款、提款功能</p>

<p style="margin-left:0cm;">bank1.py</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="530" src="https://img-blog.csdnimg.cn/20190624133842596.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="661" /></p>

<p style="margin-left:0cm;">testbank1.py</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="139" src="https://img-blog.csdnimg.cn/20190624133842215.png" width="460" /></p>

<p style="margin-left:0cm;">bank2.py</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="475" src="https://img-blog.csdnimg.cn/20190624133842595.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="714" /></p>

<p style="margin-left:0cm;">testbank2.py</p>

<p style="margin-left:0cm;"><img alt="" class="has" height="126" src="https://img-blog.csdnimg.cn/20190624133842162.png" width="422" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">定义__init__() 方法</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">在python中意味着在类之外其他位置不要直接调用,基本上都有个函数来调用这类方法 这里就是 Account()</p>

<p style="margin-left:0cm;">在调用__init__()方法时创建的Account实例会传入作为方法的第一个参数,虽然参数名可自定义,在python的惯例中第一个参数命名为self</p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">定义操作方法</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">在python中对象的方法的第一个参数一定是对象本身,python设计哲学</p>

<p style="margin-left:0cm;">(Zen of Python) <span style="color:#0000FF;">显示比隐式好</span>,<span style="color:#0000FF;">在方法中以</span><span style="color:#0000FF;">self</span><span style="color:#0000FF;">为前置名称一定是对实例属性进行存取</span><span style="color:#0000FF;">,</span><span style="color:#0000FF;">不会是针对局部变量</span></p>

<p style="margin-left:0cm;">本质上__init__()、desposit()、withdraw()本质都是函数,类中对对象的操作习惯叫方法</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">定义__str__()方法</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">当print()方法是个实例,在执行print(acct)时会调用__str__()方法获取实例描述字符串返回</p>

<p style="margin-left:0cm;">如果调用str(acct)就会调用acct的__str__()方法</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">小结:</p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">在</span><span style="color:#0000FF;">python</span><span style="color:#0000FF;">类中</span><span style="color:#0000FF;">__xxx__()</span><span style="color:#0000FF;">在外部不可见</span><span style="color:#0000FF;">,</span><span style="color:#0000FF;">但有函数调用它</span></p>

<p style="margin-left:0cm;">例如:</p>

<p style="margin-left:0cm;">__str__() 是str()</p>

<p style="margin-left:0cm;">__init__() 是类名()</p>

<p style="margin-left:0cm;">等</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>其他
	<ol><li><span style="color:#cc3300;">json</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">计算机通信中数据交换格式有两种:</p>

<p style="margin-left:0cm;">json  javascript object notation  轻量级数据表示</p>

<p style="margin-left:0cm;">xml   扩展标记</p>

<p style="margin-left:0cm;"><a href="http://www.w3school.com.cn/json/index.asp" rel="nofollow">http://www.w3school.com.cn/json/index.asp</a></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">python对象转json</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;">json在javascript生态圈非常流行轻量交换格式,易读易写易解析且提供层次结构</p>

<p style="margin-left:0cm;">python极为相近的模仿了js文字表示法:</p>

<p style="margin-left:0cm;">js表示法:</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">obj = {</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    name:'robin',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    age:33,</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    childs:[</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        {</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            name:'jessy',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            age:10</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        },</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        {</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            name:'rosa',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            age:7            </span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        }</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    ]   </span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">}</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python中用字典与列表来模拟:</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">obj = {</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    'name':'robin',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    'age':33,</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    'child':[</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        {</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            'name':'jessy',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            'age':10</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        },</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        {</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            'name':'rosa',</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            'age':7            </span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        }</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    ]   </span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">}</span></p>

<p style="margin-left:0cm;">接近json格式但注意json格式是:</p>

<p style="margin-left:0cm;"><span style="color:#0000FF;">名称必须双引号包括</span></p>

<p style="margin-left:0cm;">值可以双引号包括字符串,或数字,true,false,null,js数组(类似python列表)或子json格式</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">josnText='''{</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    "name":"robin",</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    "age":33,</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    "child":[</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        {</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            "name":"jessy",</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            "age":10</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        },</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        {</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            "name":"rosa",</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">            "age":7            </span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        }</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    ]   </span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">}'''</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">或</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">josnText='{"name":"robin","age":33,"child":[{"name":"jessy","age":10},{"name":"rosa","age":7}]}'   </span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">json表示法说明:</p>

<p style="margin-left:0cm;">1个json对象 用1个{},{属性1:值1,属性2:值2,...}</p>

<p style="margin-left:0cm;">多个json对象 用1个[{},{},{}]   数组[]</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">python的差异</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><img alt="" class="has" height="220" src="https://img-blog.csdnimg.cn/20190624133842954.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="692" /></p>

<p style="margin-left:0cm;">默认将python的字典编码为json对象格式时,字典的键只能是字符串不是字符串引发ValueError错误.</p>

<p style="margin-left:0cm;">如果调用json.dump()指定非字典编码默认会引发TypeError错误</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">class Person:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    def __init__(self, name, age):</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        self.name = name</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        self.age = age</span></p>

<p style="margin-left:0cm;">定义转换函数</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">def json_serializable(p):</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        return {'name' : p.name, 'age' : p.age}</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">p=Person('robin', 33)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">#json.dumps(p)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">obj=json.dumps(p, default=json_serializable)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">obj</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">'{"name": "robin", "age": 33}'</span></p>

<p style="margin-left:0cm;"><img alt="" class="has" height="368" src="https://img-blog.csdnimg.cn/20190624133842281.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM4NjgwOTAw,size_16,color_FFFFFF,t_70" width="390" /></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">json.dump()的第2个参数接收一个具有write方法的对象,例如文件对象</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">with open('data.txt','w') as f:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    json.dump(obj,f)</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">以上将python对象转换为json</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">反过来</p>

<ol><li>
	<ol><li>
		<ol><li><span style="color:#2f5496;">json转python对象</span></li>
		</ol></li>
	</ol></li>
</ol><p style="margin-left:0cm;"><span style="color:#0033cc;">jsonText='{"name":"robin","age":33,"child":[{"name":"jessy","age":10},{"name":"rosa","age":7}]}'   </span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">json.loads(jsonText)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{'age': 33,</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;"> 'child': [{'age': 10, 'name': 'jessy'}, {'age': 7, 'name': 'rosa'}],</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;"> 'name': 'robin'}</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">自定义类型</p>

<p style="margin-left:0cm;">定义转换函数</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">def to_person(obj):</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    return Person(obj['name'], obj['age'])</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">jsonText='{"name": "robin", "age": 33}'</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">p=json.loads(jsonText, object_hook=to_person)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">p.name</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">'robin'</span></p>

<p style="margin-left:0cm;">从某个来源加载json格式解码,可用json.load(),第1个参数接收一个具有read()方法的对象</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">with open('data.txt') as f:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print(json.load(f))</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">{'name': 'robin', 'age': 33, 'child': [{'name': 'jessy', 'age': 10}, {'name': 'rosa', 'age': 7}]}</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">2day</p>

<p style="margin-left:0cm;">索引切片操作</p>

<p style="margin-left:0cm;">列表生成器</p>

<p style="margin-left:0cm;">变量作用域 内到外</p>

<p style="margin-left:0cm;">模块和软件包  import   import ...as from .. import</p>

<p style="margin-left:0cm;">面向对象 定义类</p>

<p style="margin-left:0cm;">json    Python对象转json 序列化 反之反序列化</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">使用try except</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">高级语言通常都内置了一套try...except...finally...的错误处理机制</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">try:               #</span><span style="color:#0033cc;">要监控的代码块</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('try...')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    r=10/0</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('result:',r)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">except ZeroDivisionError as e: #</span><span style="color:#0033cc;">有异常捕捉后处理</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('except:',e)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">finally:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('finally...') #</span><span style="color:#0033cc;">不管是否要异常都会执行</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">print('over')</span></p>

<p style="margin-left:0cm;">当我们认为某些代码可能会出错时，就可以用try来运行这段代码，如果执行出错，则后续代码不会继续执行，而是直接跳转至错误处理代码，即except语句块，执行完except后，如果有finally语句块，则执行finally语句块，至此，执行完毕。</p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">try:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('try...')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    r = 10 / int('2')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('result:', r)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">except ValueError as e:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('ValueError:', e)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">except ZeroDivisionError as e:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('ZeroDivisionError:', e)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">else:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('no error!')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">finally:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('finally...')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">print('END')</span></p>

<p style="margin-left:0cm;">如果没有错误发生，可以在except语句块后面加一个else，当没有错误发生时，会自动执行else语句</p>

<p style="margin-left:0cm;"> </p>

<ol><li>
	<ol><li><span style="color:#cc3300;">文件操作</span></li>
	</ol></li>
</ol><p style="margin-left:0cm;">             </p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">try:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">f = open('test1.py', 'r')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">#f = open('hello.c', 'r', encoding='utf-8')</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print(f.read())</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">#except FileNotFoundError as err:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">#    print(err)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">finally:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print(f)</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    if f:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">        f.close()</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print('end')</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">如果文件打开成功，接下来，调用read()方法可以一次读取文件的全部内容，Python把内容读到内存，用一个str对象表示.</p>

<p style="margin-left:0cm;">但是每次都这么写实在太繁琐，所以，Python引入了with语句来自动帮我们调用close()方法：</p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">with open('test.py', 'r') as f:</span></p>

<p style="margin-left:0cm;"><span style="color:#0033cc;">    print(f.read())</span></p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;"> </p>

<p style="margin-left:0cm;">jupyter notebook  编写代码时 提示 按tab键帮我们补全</p>

<p style="margin-left:0cm;">按shift+tab键 显示函数的用法</p>

<p style="margin-left:0cm;"> </p>

<p> </p>
                                    </div>
                                                <div class="more-toolbox">
                <div class="left-toolbox">
                    <ul class="toolbox-list">
                        
                        <li class="tool-item tool-active is-like "><a href="javascript:;"><svg class="icon" aria-hidden="true">
                            <use xlink:href="#csdnc-thumbsup"></use>
                        </svg><span class="name">点赞</span>
                        <span class="count"></span>
                        </a></li>
                        <li class="tool-item tool-active is-collection "><a href="javascript:;" data-report-click='{"mod":"popu_824"}'><svg class="icon" aria-hidden="true">
                            <use xlink:href="#icon-csdnc-Collection-G" ></use>
                        </svg><span class="name">收藏</span></a></li>
                        <li class="tool-item tool-active is-share"><a href="javascript:;" data-report-click='{"mod":"1582594662_002"}'><svg class="icon" aria-hidden="true">
                            <use xlink:href="#icon-csdnc-fenxiang"></use>
                        </svg>分享</a></li>
                        <!--打赏开始-->
                                                <!--打赏结束-->
                                                <li class="tool-item tool-more">
                            <a>
                            <svg t="1575545411852" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5717" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M179.176 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5718"></path><path d="M509.684 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5719"></path><path d="M846.175 499.222m-113.245 0a113.245 113.245 0 1 0 226.49 0 113.245 113.245 0 1 0-226.49 0Z" p-id="5720"></path></svg>
                            </a>
                            <ul class="more-box">
                                <li class="item"><a class="article-report">文章举报</a></li>
                            </ul>
                        </li>
                                            </ul>
                </div>
                            </div>
            <div class="person-messagebox">
                <div class="left-message"><a href="https://blog.csdn.net/qq_38680900">
                    <img src="https://profile.csdnimg.cn/B/E/3/3_qq_38680900" class="avatar_pic" username='qq_38680900'>
                                            <img src="https://g.csdnimg.cn/static/user-reg-year/1x/3.png" class="user-years">
                                    </a></div>
                <div class="middle-message">
                                        <div class="title"><span class="tit"><a href="https://blog.csdn.net/qq_38680900" data-report-click='{"mod":"popu_379"}' target="_blank">脚踏实地+仰望星空</a></span>
                                            </div>
                    <div class="text"><span>发布了15 篇原创文章</span> · <span>获赞 8</span> · <span>访问量 2万+</span></div>
                </div>
                                <div class="right-message">
                                            <a href=https://im.csdn.net/im/main.html?userName=qq_38680900 target="_blank" 
                            class="btn btn-sm btn-red-hollow bt-button personal-letter">私信
                        </a>
                                                            <a class="btn btn-sm  bt-button personal-watch" data-report-click='{"mod":"popu_379"}'>关注</a>
                                    </div>
                            </div>
                    </div>
    </article>
    
</div>


                        <div class="hide-article-box hide-article-pos text-center">
                <a class="btn-readmore" data-report-view='{"mod":"popu_376","dest":"https://blog.csdn.net/qq_38680900/article/details/93481544","strategy":"readmore"}' data-report-click='{"mod":"popu_376","dest":"https://blog.csdn.net/qq_38680900/article/details/93481544","strategy":"readmore"}'>
                    展开阅读全文
                    <svg class="icon chevrondown" aria-hidden="true">
                        <use xlink:href="#csdnc-chevrondown"></use>
                    </svg>
                </a>
            </div>
        

    <script>
    $("#blog_detail_zk_collection").click(function(){
        window.csdn.articleCollection()
    })
</script>

            <div id="dmp_ad_58"><div id="kp_box_58" data-pid="58"><script type="text/javascript">
        (function() {
            var s = "_" + Math.random().toString(36).slice(2);
            document.write('<div style="" id="' + s + '"></div>');
            (window.slotbydup = window.slotbydup || []).push({
                id: "u3501897",
                container: s
            });
        })();
</script>
<!-- 多条广告如下脚本只需引入一次 -->
<script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js" async="async" defer="defer" >
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=58&a=386&c=0&k=&d=1&t=3&u=fa08e37a6eb147b9b0478241c73cb2c1"></div></div>            
            <a id="commentBox" name="commentBox"></a>
<div class="comment-box">
	<div class="comment-edit-box d-flex">
		<a id="commentsedit"></a>
		<div class="user-img">
			<a href="javascript:void(0);" target="_blank" rel="noopener">
				<img class="show_loginbox" src="//g.csdnimg.cn/static/user-img/anonymous-User-img.png">
			</a>
		</div>
		<form id="commentform">
			<input type="hidden" id="comment_replyId">
			<textarea class="comment-content" name="comment_content" id="comment_content" placeholder="想对作者说点什么" maxlength="1000"></textarea>
			<div class="opt-box"> <!-- d-flex -->
				<div id="ubbtools" class="add_code">
					<a href="#insertcode" code="code" target="_self"><i class="icon iconfont icon-daima"></i></a>
				</div>
				<input type="hidden" id="comment_replyId" name="comment_replyId">
				<input type="hidden" id="article_id" name="article_id" value="93481544">
				<input type="hidden" id="comment_userId" name="comment_userId" value="">
				<input type="hidden" id="commentId" name="commentId" value="">
				<div style="display: none;" class="csdn-tracking-statistics tracking-click" data-report-click='{"mod":"popu_384","dest":""}'><a href="#" target="_blank" class="comment_area_btn" rel="noopener">发表评论</a></div>
				<div class="dropdown" id="myDrap">
					<a class="dropdown-face d-flex align-items-center" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
					<div class="txt-selected text-truncate">添加代码片</div>
					<svg class="icon d-block" aria-hidden="true">
						<use xlink:href="#csdnc-triangledown"></use>
					</svg>
					</a>
					<ul class="dropdown-menu" id="commentCode" aria-labelledby="drop4">
						<li><a data-code="html">HTML/XML</a></li>
						<li><a data-code="objc">objective-c</a></li>
						<li><a data-code="ruby">Ruby</a></li>
						<li><a data-code="php">PHP</a></li>
						<li><a data-code="csharp">C</a></li>
						<li><a data-code="cpp">C++</a></li>
						<li><a data-code="javascript">JavaScript</a></li>
						<li><a data-code="python">Python</a></li>
						<li><a data-code="java">Java</a></li>
						<li><a data-code="css">CSS</a></li>
						<li><a data-code="sql">SQL</a></li>
						<li><a data-code="plain">其它</a></li>
					</ul>
				</div>  
				<div class="right-box">
                                        <span id="tip_comment" class="tip">还能输入<em>1000</em>个字符</span>
					<input type="button" class="btn btn-sm btn-cancel d-none" value="取消回复">
					<a data-report-click='{"mod":"1582594662_003"}'><input type="submit" class="btn btn-sm btn-red btn-comment" value="发表评论"></a>
				</div>
			</div>
		</form>
	</div>

	<div class="comment-list-container">
		<a id="comments"></a>
		<div class="comment-list-box">
		</div>
		<div id="commentPage" class="pagination-box d-none"></div>
		<div class="opt-box text-center">
			<div class="btn btn-sm btn-link-blue" id="btnMoreComment"></div>
		</div>
	</div>
</div>
            <div class="recommend-box">
                                    <div class="recommend-item-box  recommend-other-item-box">
	<a href="https://bbs.csdn.net/topics/392404038" target="_blank" rel="noopener" data-report-click='{"mod":"popu_387","index":"1","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/392404038"}' data-report-view='{"mod":"popu_387","index":"1","strategy":"BlogCommendFromBaidu","dest":"https:\/\/bbs.csdn.net\/topics\/392404038"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Python中遇到IndexError: list index out of range怎么解决		</h4>
		<div class="info-box d-flex align-content-center">
				<span class="date">06-25</span>
		</div>
		<p class="content oneline">
			<span class="desc oneline">编码如下： # coding=gbk import socket import sys s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # 假设1</span>
							<span class="type-show type-show-bbs">论坛</span>
					</p>
	</a>

</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/blue0bird/article/details/78808747" target="_blank"  rel="noopener" title="python 详解" data-report-click='{"mod":"popu_387","index":"2","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/blue0bird\/article\/details\/78808747"}' data-report-view='{"mod":"popu_387","index":"2","strategy":"BlogCommendFromBaidu","dest":"https:\/\/blog.csdn.net\/blue0bird\/article\/details\/78808747"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				python 详解		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-17</span>
				<span class="read-num hover-hide">
					阅读数 
					848</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/blue0bird/article/details/78808747" target="_blank" rel="noopener" title="python 详解">
				<span class="desc oneline">python 详1 Types and Operations1-1 Built-in Objects preview1-2 Numbers1-3 String1-3-1 Sequence Operat...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/blue0bird">来自：	<span class="blog_title"> blue0bird的专栏</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_39052513/article/details/100272502" target="_blank"  rel="noopener" title="SecureCRT的下载、安装（ 过程非常详细！！值得查看）" data-report-click='{"mod":"popu_387","index":"3","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_39052513\/article\/details\/100272502"}' data-report-view='{"mod":"popu_387","index":"3","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_39052513\/article\/details\/100272502"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				SecureCRT的下载、安装（ 过程非常详细！！值得查看）		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">03-03</span>
				<span class="read-num hover-hide">
					阅读数 
					2万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_39052513/article/details/100272502" target="_blank" rel="noopener" title="SecureCRT的下载、安装（ 过程非常详细！！值得查看）">
				<span class="desc oneline">SecureCRT的下载、安装和破解（ 过程非常详细！！值得查看）简单介绍下SecureCRT一、SecureCRT的下载二、SecureCRT的安装简单介绍下SecureCRTSecureCRT是一...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_39052513">来自：	<span class="blog_title"> 超Ren专属</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_44543508/article/details/102651841" target="_blank"  rel="noopener" title="Java学习的正确打开方式" data-report-click='{"mod":"popu_387","index":"4","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_44543508\/article\/details\/102651841"}' data-report-view='{"mod":"popu_387","index":"4","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_44543508\/article\/details\/102651841"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Java学习的正确打开方式		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-08</span>
				<span class="read-num hover-hide">
					阅读数 
					29万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_44543508/article/details/102651841" target="_blank" rel="noopener" title="Java学习的正确打开方式">
				<span class="desc oneline">在博主认为，对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结，前三者博主将淋漓尽致地挥毫于这篇博客文章中，至于总结在于个人，实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_44543508">来自：	<span class="blog_title"> 程序员宜春的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_59" data-pid="59"><div id="three_ad1" class="mediav_ad" ></div>
<script type="text/javascript" src="//static.mediav.com/js/mvf_news_feed.js"></script>
<script>
                                               NEWS_FEED({
                w: 852,
                h : 52,
                showid : 'GNKXx7',
                placeholderId: "three_ad1",
                inject : 'define',
                define : {
                    imagePosition : 'left',
                    imageBorderRadius : 3,
                    imageWidth: 90,
                    imageHeight: 52,
                    imageFill : 'clip',
                    displayImage : true,
                    displayTitle : true,
                    titleFontSize: 18,
                    titleFontColor: '#000',
                    titleFontFamily : 'Lato,-apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif',
                    titleFontWeight: 'bold',
                    titlePaddingTop : 0,
                    titlePaddingRight : 0,
                    titlePaddingBottom : 5,
                    titlePaddingLeft : 16,
                    displayDesc : true,
                    descFontSize: 14,
                    descFontColor: '#8e959a',
                    descFontFamily : 'Microsoft Yahei',
                    paddingTop : 0,
                    paddingRight : 0,
                    paddingBottom : 0,
                    paddingLeft : 0,
                    backgroundColor: '#fff',
                    hoverColor: '#000'
                      }
                  })
                                        </script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=59&a=517&c=0&k=&d=1&t=3&u=4487e592c6f14de3be4b884bb09c1aac"></div></div>
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/m0_37907797/article/details/102661778" target="_blank"  rel="noopener" title="程序员必须掌握的核心算法有哪些？" data-report-click='{"mod":"popu_387","index":"5","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/m0_37907797\/article\/details\/102661778"}' data-report-view='{"mod":"popu_387","index":"5","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/m0_37907797\/article\/details\/102661778"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				程序员必须掌握的核心算法有哪些？		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-26</span>
				<span class="read-num hover-hide">
					阅读数 
					41万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/m0_37907797/article/details/102661778" target="_blank" rel="noopener" title="程序员必须掌握的核心算法有哪些？">
				<span class="desc oneline">由于我之前一直强调数据结构以及算法学习的重要性，所以就有一些读者经常问我，数据结构与算法应该要学习到哪个程度呢？，说实话，这个问题我不知道要怎么回答你，主要取决于你想学习到哪些程度，不过针对这个问题，...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/m0_37907797">来自：	<span class="blog_title"> 帅地</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/m0_37907797/article/details/102781027" target="_blank"  rel="noopener" title="大学四年自学走来，这些私藏的实用工具/学习网站我贡献出来了" data-report-click='{"mod":"popu_387","index":"6","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/m0_37907797\/article\/details\/102781027"}' data-report-view='{"mod":"popu_387","index":"6","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/m0_37907797\/article\/details\/102781027"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				大学四年自学走来，这些私藏的实用工具/学习网站我贡献出来了		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">02-26</span>
				<span class="read-num hover-hide">
					阅读数 
					45万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/m0_37907797/article/details/102781027" target="_blank" rel="noopener" title="大学四年自学走来，这些私藏的实用工具/学习网站我贡献出来了">
				<span class="desc oneline">大学四年，看课本是不可能一直看课本的了，对于学习，特别是自学，善于搜索网上的一些资源来辅助，还是非常有必要的，下面我就把这几年私藏的各种资源，网站贡献出来给你们。主要有：电子书搜索、实用工具、在线视频...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/m0_37907797">来自：	<span class="blog_title"> 帅地</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/kebi007/article/details/103434479" target="_blank"  rel="noopener" title="程序员必备的8个学习工具" data-report-click='{"mod":"popu_387","index":"7","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/kebi007\/article\/details\/103434479"}' data-report-view='{"mod":"popu_387","index":"7","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/kebi007\/article\/details\/103434479"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				程序员必备的8个学习工具		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-07</span>
				<span class="read-num hover-hide">
					阅读数 
					3万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/kebi007/article/details/103434479" target="_blank" rel="noopener" title="程序员必备的8个学习工具">
				<span class="desc oneline">取其精华，去其糟粕</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/kebi007">来自：	<span class="blog_title"> dotNet全栈开发</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_34337272/article/details/103456234" target="_blank"  rel="noopener" title="硬核！ 逛了4年Github ，一口气把我收藏的 Java 开源项目分享给你！" data-report-click='{"mod":"popu_387","index":"8","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_34337272\/article\/details\/103456234"}' data-report-view='{"mod":"popu_387","index":"8","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_34337272\/article\/details\/103456234"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				硬核！ 逛了4年Github ，一口气把我收藏的 Java 开源项目分享给你！		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-09</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_34337272/article/details/103456234" target="_blank" rel="noopener" title="硬核！ 逛了4年Github ，一口气把我收藏的 Java 开源项目分享给你！">
				<span class="desc oneline">Awsome JavaGreat Java project on Github(Github 上非常棒的 Java 开源项目).English Version大家都知道 Github 是一个程序员福地...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_34337272">来自：	<span class="blog_title"> 不忘初心</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/u013486414/article/details/103457523" target="_blank"  rel="noopener" title="Ｂ站收藏 6.1w+！GitHub 标星 3.9k+！这门神课拯救了我薄弱的计算机基础" data-report-click='{"mod":"popu_387","index":"9","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/u013486414\/article\/details\/103457523"}' data-report-view='{"mod":"popu_387","index":"9","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/u013486414\/article\/details\/103457523"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Ｂ站收藏 6.1w+！GitHub 标星 3.9k+！这门神课拯救了我薄弱的计算机基础		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-09</span>
				<span class="read-num hover-hide">
					阅读数 
					4万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/u013486414/article/details/103457523" target="_blank" rel="noopener" title="Ｂ站收藏 6.1w+！GitHub 标星 3.9k+！这门神课拯救了我薄弱的计算机基础">
				<span class="desc oneline">大家好，我是 Rocky0429，一个对计算机基础一无所知的蒟蒻…作为一个所谓的计算机科班出身的人来说，特别难为情的是自己的计算机基础很差，比如计算机网络当年一度差点挂掉，多亏当时的老师手下留情，给我...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/u013486414">来自：	<span class="blog_title"> Rocky0429</span></a>
												</span>
		</p>
	</div>
	</div>

	<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_60" data-pid="60"><script type="text/javascript">
    (function() {
        var s = "_" + Math.random().toString(36).slice(2);
        document.write('<div style="" id="' + s + '"></div>');
        (window.slotbydup = window.slotbydup || []).push({
            id: "u3491668",
            container:  s
        });
    })();
</script>
<!-- 多条广告如下脚本只需引入一次 -->
<script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js" async="async" defer="defer" ></script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=60&a=78&c=0&k=&d=1&t=3&u=7374ef30f54f456cab3a24a624d8b72e"></div></div>
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_36894974/article/details/103500199" target="_blank"  rel="noopener" title="你说你懂计算机网络，那这些你都知道吗" data-report-click='{"mod":"popu_387","index":"10","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_36894974\/article\/details\/103500199"}' data-report-view='{"mod":"popu_387","index":"10","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_36894974\/article\/details\/103500199"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				你说你懂计算机网络，那这些你都知道吗		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-11</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_36894974/article/details/103500199" target="_blank" rel="noopener" title="你说你懂计算机网络，那这些你都知道吗">
				<span class="desc oneline">今天的因特网无疑是有史以来由人类创造的、精心设计的最大系统、该系统由数以千计的计算机设备（计算机、平板电脑、智能手机）彼此相互连接构成，并且还有一批与因特网相互连接的物品比如游戏机、监控系统、汽车、医...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_36894974">来自：	<span class="blog_title"> c旋儿的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/u013486414/article/details/103507015" target="_blank"  rel="noopener" title="GitHub 总星 4w+！删库？女装？表情包？这些沙雕中文项目真是我每天快乐的源泉！" data-report-click='{"mod":"popu_387","index":"11","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/u013486414\/article\/details\/103507015"}' data-report-view='{"mod":"popu_387","index":"11","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/u013486414\/article\/details\/103507015"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				GitHub 总星 4w+！删库？女装？表情包？这些沙雕中文项目真是我每天快乐的源泉！		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-12</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/u013486414/article/details/103507015" target="_blank" rel="noopener" title="GitHub 总星 4w+！删库？女装？表情包？这些沙雕中文项目真是我每天快乐的源泉！">
				<span class="desc oneline">大家好，我是 Rocky0429，一个喜欢在 GitHub 上瞎逛的蒟蒻…好看的皮囊千篇一律，有趣的灵魂没有底线。作为全球最大的同性交友网站，GayHub GitHub 上不止有鲜活的代码，秃头的算法...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/u013486414">来自：	<span class="blog_title"> Rocky0429</span></a>
												</span>
		</p>
	</div>
	</div>

	
			<div class="recommend-item-box blog-expert-recommend-box">
			<div class="d-flex">
				<div class="blog-expert-recommend">
					<div class="blog-expert">
						<div class="blog-expert-flexbox"></div>
					</div>
				</div>
			</div>
		</div>
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/ThinkWon/article/details/103522351" target="_blank"  rel="noopener" title="Redis面试题（2020最新版）" data-report-click='{"mod":"popu_387","index":"12","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/ThinkWon\/article\/details\/103522351"}' data-report-view='{"mod":"popu_387","index":"12","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/ThinkWon\/article\/details\/103522351"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Redis面试题（2020最新版）		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-13</span>
				<span class="read-num hover-hide">
					阅读数 
					2万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/ThinkWon/article/details/103522351" target="_blank" rel="noopener" title="Redis面试题（2020最新版）">
				<span class="desc oneline">文章目录概述什么是RedisRedis有哪些数据类型Redis有哪些优缺点Redis的应用场景为什么要用 Redis /为什么要用缓存为什么要用 Redis 而不用 map/guava 做缓存?Red...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/ThinkWon">来自：	<span class="blog_title"> ThinkWon的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/ThinkWon/article/details/103592572" target="_blank"  rel="noopener" title="Java知识体系最强总结(2020版)" data-report-click='{"mod":"popu_387","index":"13","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/ThinkWon\/article\/details\/103592572"}' data-report-view='{"mod":"popu_387","index":"13","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/ThinkWon\/article\/details\/103592572"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Java知识体系最强总结(2020版)		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-18</span>
				<span class="read-num hover-hide">
					阅读数 
					7万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/ThinkWon/article/details/103592572" target="_blank" rel="noopener" title="Java知识体系最强总结(2020版)">
				<span class="desc oneline">更新于2019-12-15 10:38:00本人从事Java开发已多年，平时有记录问题解决方案和总结知识点的习惯，整理了一些有关Java的知识体系，这不是最终版，会不定期的更新。也算是记录自己在从事编...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/ThinkWon">来自：	<span class="blog_title"> ThinkWon的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/weixin_38753103/article/details/103625892" target="_blank"  rel="noopener" title="外国人眼里的李子柒难道不一样？ | Alfred数据室" data-report-click='{"mod":"popu_387","index":"14","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/weixin_38753103\/article\/details\/103625892"}' data-report-view='{"mod":"popu_387","index":"14","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/weixin_38753103\/article\/details\/103625892"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				外国人眼里的李子柒难道不一样？ | Alfred数据室		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-19</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/weixin_38753103/article/details/103625892" target="_blank" rel="noopener" title="外国人眼里的李子柒难道不一样？ | Alfred数据室">
				<span class="desc oneline">李子柒又火了。分享古风田园生活的短视频频道“李子柒 Liziqi”在YouTube上获得了763万的订阅者，其短视频中传递出静谧、自给自足、远离都市的田园生活理念，赢得了无数外国人的赞赏......</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_38753103">来自：	<span class="blog_title"> Alfred数据室</span></a>
												</span>
		</p>
	</div>
	</div>

	<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_61" data-pid="61"><div id="three_ad1" class="mediav_ad" ></div>
<script type="text/javascript" src="//static.mediav.com/js/mvf_news_feed.js"></script>
<script>
                                               NEWS_FEED({
                w: 852,
                h : 52,
                showid : 'GNKXx7',
                placeholderId: "three_ad1",
                inject : 'define',
                define : {
                    imagePosition : 'left',
                    imageBorderRadius : 3,
                    imageWidth: 90,
                    imageHeight: 52,
                    imageFill : 'clip',
                    displayImage : true,
                    displayTitle : true,
                    titleFontSize: 18,
                    titleFontColor: '#000',
                    titleFontFamily : 'Lato,-apple-system,SF UI Text,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif',
                    titleFontWeight: 'bold',
                    titlePaddingTop : 0,
                    titlePaddingRight : 0,
                    titlePaddingBottom : 5,
                    titlePaddingLeft : 16,
                    displayDesc : true,
                    descFontSize: 14,
                    descFontColor: '#8e959a',
                    descFontFamily : 'Microsoft Yahei',
                    paddingTop : 0,
                    paddingRight : 0,
                    paddingBottom : 0,
                    paddingLeft : 0,
                    backgroundColor: '#fff',
                    hoverColor: '#000'
                      }
                  })
                                        </script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=61&a=517&c=0&k=&d=1&t=3&u=4831afff8868405999ec23f22dce45c3"></div></div>
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/103633705" target="_blank"  rel="noopener" title="一个“/”键，封锁了整个互联网" data-report-click='{"mod":"popu_387","index":"15","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/103633705"}' data-report-view='{"mod":"popu_387","index":"15","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/103633705"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				一个“/”键，封锁了整个互联网		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-20</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/103633705" target="_blank" rel="noopener" title="一个“/”键，封锁了整个互联网">
				<span class="desc oneline">正所谓无BUG不生活，从你含辛茹苦地码着第一行代码开始，bug就如影随形。其实，bug 被自己或者是测试人员发现都是好事；但如果是被用户发现，又或者导致了客户和公司的巨额损失……这些未知后果，就如同悬...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/JiuZhang_ninechapter">来自：	<span class="blog_title"> 九章算法的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/103670926" target="_blank"  rel="noopener" title="计算机专业的书普遍都这么贵，你们都是怎么获取资源的？" data-report-click='{"mod":"popu_387","index":"16","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/103670926"}' data-report-view='{"mod":"popu_387","index":"16","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/103670926"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				计算机专业的书普遍都这么贵，你们都是怎么获取资源的？		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-23</span>
				<span class="read-num hover-hide">
					阅读数 
					6万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/103670926" target="_blank" rel="noopener" title="计算机专业的书普遍都这么贵，你们都是怎么获取资源的？">
				<span class="desc oneline">介绍几个可以下载编程电子书籍的网站。1.GithubGithub上编程书资源很多，你可以根据类型和语言去搜索。推荐几个热门的：free-programming-books-zh_CN：58K 星的Gi...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/JiuZhang_ninechapter">来自：	<span class="blog_title"> 九章算法的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/u013486414/article/details/103753223" target="_blank"  rel="noopener" title="卸载 x 雷某度！GitHub 标星 1.5w+，从此我只用这款全能高速下载工具！" data-report-click='{"mod":"popu_387","index":"17","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/u013486414\/article\/details\/103753223"}' data-report-view='{"mod":"popu_387","index":"17","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/u013486414\/article\/details\/103753223"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				卸载 x 雷某度！GitHub 标星 1.5w+，从此我只用这款全能高速下载工具！		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-29</span>
				<span class="read-num hover-hide">
					阅读数 
					2万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/u013486414/article/details/103753223" target="_blank" rel="noopener" title="卸载 x 雷某度！GitHub 标星 1.5w+，从此我只用这款全能高速下载工具！">
				<span class="desc oneline">作者 |  Rocky0429来源 |  Python空间大家好，我是 Rocky0429，一个喜欢在网上收集各种资源的蒟蒻…网上资源眼花缭乱，下载的方式也同样千奇百怪，比如 BT 下载，磁力链接，网...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/u013486414">来自：	<span class="blog_title"> Rocky0429</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/ThinkWon/article/details/103766368" target="_blank"  rel="noopener" title="Spring Cloud入门-Oauth2授权之基于JWT完成单点登录(Hoxton版本)" data-report-click='{"mod":"popu_387","index":"18","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/ThinkWon\/article\/details\/103766368"}' data-report-view='{"mod":"popu_387","index":"18","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/ThinkWon\/article\/details\/103766368"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Spring Cloud入门-Oauth2授权之基于JWT完成单点登录(Hoxton版本)		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">12-30</span>
				<span class="read-num hover-hide">
					阅读数 
					3559</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/ThinkWon/article/details/103766368" target="_blank" rel="noopener" title="Spring Cloud入门-Oauth2授权之基于JWT完成单点登录(Hoxton版本)">
				<span class="desc oneline">文章目录摘要单点登录简介创建oauth2-client模块修改授权服务器配置网页单点登录演示调用接口单点登录演示oauth2-client添加权限校验使用到的模块项目源码地址项目使用的Spring C...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/ThinkWon">来自：	<span class="blog_title"> ThinkWon的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/coderising/article/details/103813658" target="_blank"  rel="noopener" title="Java 14 都快来了，为什么还有这么多人固守Java 8？" data-report-click='{"mod":"popu_387","index":"19","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/coderising\/article\/details\/103813658"}' data-report-view='{"mod":"popu_387","index":"19","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/coderising\/article\/details\/103813658"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				Java 14 都快来了，为什么还有这么多人固守Java 8？		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-02</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/coderising/article/details/103813658" target="_blank" rel="noopener" title="Java 14 都快来了，为什么还有这么多人固守Java 8？">
				<span class="desc oneline">从Java 9开始，Java版本的发布就让人眼花缭乱了。每隔6个月，都会冒出一个新版本出来，Java 10 , Java 11, Java 12, Java 13， 到2020年3月份，......</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/coderising">来自：	<span class="blog_title"> 码农翻身</span></a>
												</span>
		</p>
	</div>
	</div>

	<div class="recommend-item-box recommend-recommend-box"><div id="kp_box_62" data-pid="62"><script type="text/javascript">
    (function() {
        var s = "_" + Math.random().toString(36).slice(2);
        document.write('<div style="" id="' + s + '"></div>');
        (window.slotbydup = window.slotbydup || []).push({
            id: "u3491668",
            container:  s
        });
    })();
</script>
<!-- 多条广告如下脚本只需引入一次 -->
<script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js" async="async" defer="defer" ></script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=62&a=78&c=0&k=&d=1&t=3&u=aecb746e8b984e9f8bcd64dc31577d7d"></div></div>
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qing_gee/article/details/103814819" target="_blank"  rel="noopener" title="2019年，CSDN上最受欢迎的10篇文章" data-report-click='{"mod":"popu_387","index":"20","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qing_gee\/article\/details\/103814819"}' data-report-view='{"mod":"popu_387","index":"20","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qing_gee\/article\/details\/103814819"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				2019年，CSDN上最受欢迎的10篇文章		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-03</span>
				<span class="read-num hover-hide">
					阅读数 
					9073</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qing_gee/article/details/103814819" target="_blank" rel="noopener" title="2019年，CSDN上最受欢迎的10篇文章">
				<span class="desc oneline">很多读者问我：“二哥，你怎么不整理一篇 2019 年的文章列表呢？”说实话，我有些惭愧，因为有些文章写得很烂，我自己都不好意思再重读，真的辛苦了那些老读者，不离不弃的精神打动了我（????）。当然也有...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qing_gee">来自：	<span class="blog_title"> 沉默王二</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/dfskhgalshgkajghljgh/article/details/103841693" target="_blank"  rel="noopener" title="为什么猝死的都是程序员，基本上不见产品经理猝死呢？" data-report-click='{"mod":"popu_387","index":"21","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/dfskhgalshgkajghljgh\/article\/details\/103841693"}' data-report-view='{"mod":"popu_387","index":"21","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/dfskhgalshgkajghljgh\/article\/details\/103841693"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				为什么猝死的都是程序员，基本上不见产品经理猝死呢？		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-05</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/dfskhgalshgkajghljgh/article/details/103841693" target="_blank" rel="noopener" title="为什么猝死的都是程序员，基本上不见产品经理猝死呢？">
				<span class="desc oneline">相信大家时不时听到程序员猝死的消息，但是基本上听不到产品经理猝死的消息，这是为什么呢？我们先百度搜一下：程序员猝死，出现将近700多万条搜索结果：搜索一下：产品经理猝死，只有400万条的搜索结果，从搜...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/dfskhgalshgkajghljgh">来自：	<span class="blog_title"> 曹银飞的专栏</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_35190492/article/details/103847147" target="_blank"  rel="noopener" title="毕业5年，我问遍了身边的大佬，总结了他们的学习方法" data-report-click='{"mod":"popu_387","index":"22","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_35190492\/article\/details\/103847147"}' data-report-view='{"mod":"popu_387","index":"22","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_35190492\/article\/details\/103847147"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				毕业5年，我问遍了身边的大佬，总结了他们的学习方法		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">02-13</span>
				<span class="read-num hover-hide">
					阅读数 
					2万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_35190492/article/details/103847147" target="_blank" rel="noopener" title="毕业5年，我问遍了身边的大佬，总结了他们的学习方法">
				<span class="desc oneline">我问了身边10个大佬，总结了他们的学习方法，原来成功都是有迹可循的。</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_35190492">来自：	<span class="blog_title"> 敖丙</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/alitech2017/article/details/103859969" target="_blank"  rel="noopener" title="阿里巴巴向全社会开放黑科技：“泡在水里”的服务器" data-report-click='{"mod":"popu_387","index":"23","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/alitech2017\/article\/details\/103859969"}' data-report-view='{"mod":"popu_387","index":"23","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/alitech2017\/article\/details\/103859969"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				阿里巴巴向全社会开放黑科技：“泡在水里”的服务器		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-06</span>
				<span class="read-num hover-hide">
					阅读数 
					8259</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/alitech2017/article/details/103859969" target="_blank" rel="noopener" title="阿里巴巴向全社会开放黑科技：“泡在水里”的服务器">
				<span class="desc oneline">简介： 为了让数据中心更绿色，阿里工程曾将服务器“泡在水里”进行散热，节能超70%，今天这项黑科技的神秘面纱被揭开。为了让数据中心更绿色，阿里工程曾将服务器“泡在水里”进行散热，节能超70%，今天这项...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/alitech2017">来自：	<span class="blog_title"> 阿里技术</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qing_gee/article/details/103869737" target="_blank"  rel="noopener" title="推荐10个堪称神器的学习网站" data-report-click='{"mod":"popu_387","index":"24","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qing_gee\/article\/details\/103869737"}' data-report-view='{"mod":"popu_387","index":"24","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qing_gee\/article\/details\/103869737"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				推荐10个堪称神器的学习网站		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">02-25</span>
				<span class="read-num hover-hide">
					阅读数 
					12万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qing_gee/article/details/103869737" target="_blank" rel="noopener" title="推荐10个堪称神器的学习网站">
				<span class="desc oneline">每天都会收到很多读者的私信，问我：“二哥，有什么推荐的学习网站吗？最近很浮躁，手头的一些网站都看烦了，想看看二哥这里有什么新鲜货。”今天一早做了个恶梦，梦到被老板辞退了。虽然说在我们公司，只有我辞退老...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qing_gee">来自：	<span class="blog_title"> 沉默王二</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/sinat_33921105/article/details/103883774" target="_blank"  rel="noopener" title="这些软件太强了，Windows必装！尤其程序员！" data-report-click='{"mod":"popu_387","index":"25","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/sinat_33921105\/article\/details\/103883774"}' data-report-view='{"mod":"popu_387","index":"25","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/sinat_33921105\/article\/details\/103883774"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				这些软件太强了，Windows必装！尤其程序员！		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-08</span>
				<span class="read-num hover-hide">
					阅读数 
					4万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/sinat_33921105/article/details/103883774" target="_blank" rel="noopener" title="这些软件太强了，Windows必装！尤其程序员！">
				<span class="desc oneline">Windows可谓是大多数人的生产力工具，集娱乐办公于一体，虽然在程序员这个群体中都说苹果是信仰，但是大部分不都是从Windows过来的，而且现在依然有很多的程序员用Windows。所以，今天我就把我...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/sinat_33921105">来自：	<span class="blog_title"> 编码之外的技术博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/sinat_33921105/article/details/103899234" target="_blank"  rel="noopener" title="大学四年因为知道了这32个网站，我成了别人眼中的大神！" data-report-click='{"mod":"popu_387","index":"26","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/sinat_33921105\/article\/details\/103899234"}' data-report-view='{"mod":"popu_387","index":"26","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/sinat_33921105\/article\/details\/103899234"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				大学四年因为知道了这32个网站，我成了别人眼中的大神！		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-08</span>
				<span class="read-num hover-hide">
					阅读数 
					15万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/sinat_33921105/article/details/103899234" target="_blank" rel="noopener" title="大学四年因为知道了这32个网站，我成了别人眼中的大神！">
				<span class="desc oneline">依稀记得，毕业那天，我们导员发给我毕业证的时候对我说“你可是咱们系的风云人物啊”，哎呀，别提当时多开心啦????，嗯，我们导员是所有导员中最帅的一个，真的????不过，导员说的是实话，很多人都叫我大神...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/sinat_33921105">来自：	<span class="blog_title"> 编码之外的技术博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/xianaoshi/article/details/103900636" target="_blank"  rel="noopener" title="互联网人每天要面对多少变态需求？" data-report-click='{"mod":"popu_387","index":"27","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/xianaoshi\/article\/details\/103900636"}' data-report-view='{"mod":"popu_387","index":"27","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/xianaoshi\/article\/details\/103900636"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				互联网人每天要面对多少变态需求？		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-08</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/xianaoshi/article/details/103900636" target="_blank" rel="noopener" title="互联网人每天要面对多少变态需求？">
				<span class="desc oneline">互联网人个个都是三头六臂每天可能会面对各种不合理甚至变态的需求承受常人无法想象的压力-我们在社群里征集了各种变态需求，汇编成了合集--以上情况可能存在部分夸张但世界的多样性、人类的复杂性......</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/xianaoshi">来自：	<span class="blog_title"> 吓脑湿</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_36903042/article/details/103917724" target="_blank"  rel="noopener" title="自学系列 | 就谈知识体系！" data-report-click='{"mod":"popu_387","index":"28","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_36903042\/article\/details\/103917724"}' data-report-view='{"mod":"popu_387","index":"28","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_36903042\/article\/details\/103917724"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				自学系列 | 就谈知识体系！		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-09</span>
				<span class="read-num hover-hide">
					阅读数 
					6624</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_36903042/article/details/103917724" target="_blank" rel="noopener" title="自学系列 | 就谈知识体系！">
				<span class="desc oneline">阅读本文大约需要 6 分钟这一篇是俺分享的《自学系列》中最后一篇，坚持更新整个系列下来，不仅给一些读者带了感悟，俺也从反思和思考的过程中又收获了一些新的自我认识和价值。分享过的前几篇如下......</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_36903042">来自：	<span class="blog_title"> 小鹿动画学编程</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/103922107" target="_blank"  rel="noopener" title="在西雅图工作一年，口袋还剩多少钱？" data-report-click='{"mod":"popu_387","index":"29","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/103922107"}' data-report-view='{"mod":"popu_387","index":"29","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/103922107"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				在西雅图工作一年，口袋还剩多少钱？		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-09</span>
				<span class="read-num hover-hide">
					阅读数 
					8651</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/103922107" target="_blank" rel="noopener" title="在西雅图工作一年，口袋还剩多少钱？">
				<span class="desc oneline">都说湾区的living cost高，10w的税前年薪最后能省下2w都是万幸，更别提买房买车、成家立业了。不奋斗个五六年拿不了高薪，也很难摸索得出一套省钱的方法。    而在华盛顿州的西雅图living...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/JiuZhang_ninechapter">来自：	<span class="blog_title"> 九章算法的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_34337272/article/details/103928638" target="_blank"  rel="noopener" title="良心推荐，我珍藏的一些Chrome插件" data-report-click='{"mod":"popu_387","index":"30","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_34337272\/article\/details\/103928638"}' data-report-view='{"mod":"popu_387","index":"30","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_34337272\/article\/details\/103928638"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				良心推荐，我珍藏的一些Chrome插件		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-10</span>
				<span class="read-num hover-hide">
					阅读数 
					2万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_34337272/article/details/103928638" target="_blank" rel="noopener" title="良心推荐，我珍藏的一些Chrome插件">
				<span class="desc oneline">上次搬家的时候，发了一个朋友圈，附带的照片中不小心暴露了自己的 Chrome 浏览器插件之多，于是就有小伙伴评论说分享一下我觉得还不错的浏览器插件。我下面就把我日常工作和学习中经常用到的一些  Chr...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_34337272">来自：	<span class="blog_title"> 不忘初心</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/dengjin20104042056/article/details/103930275" target="_blank"  rel="noopener" title="【程序人生】程序员接私活常用平台汇总" data-report-click='{"mod":"popu_387","index":"31","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/dengjin20104042056\/article\/details\/103930275"}' data-report-view='{"mod":"popu_387","index":"31","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/dengjin20104042056\/article\/details\/103930275"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				【程序人生】程序员接私活常用平台汇总		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-10</span>
				<span class="read-num hover-hide">
					阅读数 
					3万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/dengjin20104042056/article/details/103930275" target="_blank" rel="noopener" title="【程序人生】程序员接私活常用平台汇总">
				<span class="desc oneline">00. 目录文章目录00. 目录01. 前言02. 程序员客栈03. 码市04. 猪八戒网05. 开源众包06.  智城外包网07. 实现网08. 猿急送09. 人人开发10. 开发邦11. 电鸭社区...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/dengjin20104042056">来自：	<span class="blog_title"> 嵌入式开发工程师---欢迎大家一起交流</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_36894974/article/details/103930478" target="_blank"  rel="noopener" title="看完这篇HTTP，跟面试官扯皮就没问题了" data-report-click='{"mod":"popu_387","index":"32","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_36894974\/article\/details\/103930478"}' data-report-view='{"mod":"popu_387","index":"32","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_36894974\/article\/details\/103930478"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				看完这篇HTTP，跟面试官扯皮就没问题了		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-10</span>
				<span class="read-num hover-hide">
					阅读数 
					2万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_36894974/article/details/103930478" target="_blank" rel="noopener" title="看完这篇HTTP，跟面试官扯皮就没问题了">
				<span class="desc oneline">我是一名程序员，我的主要编程语言是 Java，我更是一名 Web 开发人员，所以我必须要了解 HTTP，所以本篇文章就来带你从 HTTP 入门到进阶，看完让你有一种恍然大悟、醍醐灌顶的感觉。最初在有网...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_36894974">来自：	<span class="blog_title"> c旋儿的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/weixin_43570367/article/details/103963249" target="_blank"  rel="noopener" title="史上最全的IDEA快捷键总结" data-report-click='{"mod":"popu_387","index":"33","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/weixin_43570367\/article\/details\/103963249"}' data-report-view='{"mod":"popu_387","index":"33","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/weixin_43570367\/article\/details\/103963249"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				史上最全的IDEA快捷键总结		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-13</span>
				<span class="read-num hover-hide">
					阅读数 
					3万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/weixin_43570367/article/details/103963249" target="_blank" rel="noopener" title="史上最全的IDEA快捷键总结">
				<span class="desc oneline">现在Idea成了主流开发工具，这篇博客对其使用的快捷键做了总结，希望对大家的开发工作有所帮助。...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/weixin_43570367">来自：	<span class="blog_title"> 扬帆向海的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/yellowzf3/article/details/103982287" target="_blank"  rel="noopener" title="2020年，冯唐49岁：我给20、30岁IT职场年轻人的建议" data-report-click='{"mod":"popu_387","index":"34","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/yellowzf3\/article\/details\/103982287"}' data-report-view='{"mod":"popu_387","index":"34","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/yellowzf3\/article\/details\/103982287"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				2020年，冯唐49岁：我给20、30岁IT职场年轻人的建议		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">02-07</span>
				<span class="read-num hover-hide">
					阅读数 
					5万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/yellowzf3/article/details/103982287" target="_blank" rel="noopener" title="2020年，冯唐49岁：我给20、30岁IT职场年轻人的建议">
				<span class="desc oneline">点击“技术领导力”关注∆每天早上8:30推送作者|Mr.K 编辑| Emma来源|技术领导力(ID：jishulingdaoli)前天的推文《冯唐：职场人35岁以后，方法论比经验重要》，收到了不少读者...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/yellowzf3">来自：	<span class="blog_title"> 技术领导力</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/tuzongxun/article/details/104004186" target="_blank"  rel="noopener" title="三十而立~2019年终总结" data-report-click='{"mod":"popu_387","index":"35","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/tuzongxun\/article\/details\/104004186"}' data-report-view='{"mod":"popu_387","index":"35","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/tuzongxun\/article\/details\/104004186"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				三十而立~2019年终总结		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-16</span>
				<span class="read-num hover-hide">
					阅读数 
					1757</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/tuzongxun/article/details/104004186" target="_blank" rel="noopener" title="三十而立~2019年终总结">
				<span class="desc oneline">岁月一去不复返，转眼就要换新年；新年又是新气象，做个总结好心安！又到了一年年关，又到了总结的时候，有的人有这个习惯，有的人不以为然，而我，算是有这个习惯的人之一。到了这个时候，不总结一下，不写点什么，...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/tuzongxun">来自：	<span class="blog_title"> 涂宗勋的技术博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/104011567" target="_blank"  rel="noopener" title="推荐一些有趣的在线编程游戏" data-report-click='{"mod":"popu_387","index":"36","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/104011567"}' data-report-view='{"mod":"popu_387","index":"36","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/104011567"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				推荐一些有趣的在线编程游戏		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-16</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/104011567" target="_blank" rel="noopener" title="推荐一些有趣的在线编程游戏">
				<span class="desc oneline">1.Robocode让坦克们互相博弈的游戏，你可以看到它们飞奔，碾碎一切挡道的东西。机器人配有雷达与火炮，选手在躲避对手进攻的同时攻击对手，以此来较量得分的多少。这个游戏很有意思，曾经令我沉迷…你可以...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/JiuZhang_ninechapter">来自：	<span class="blog_title"> 九章算法的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/104017082" target="_blank"  rel="noopener" title="“亚麻加班，谷歌养老”， 同样是码农差距也太大了！" data-report-click='{"mod":"popu_387","index":"37","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/104017082"}' data-report-view='{"mod":"popu_387","index":"37","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/JiuZhang_ninechapter\/article\/details\/104017082"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				“亚麻加班，谷歌养老”， 同样是码农差距也太大了！		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-16</span>
				<span class="read-num hover-hide">
					阅读数 
					8561</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/JiuZhang_ninechapter/article/details/104017082" target="_blank" rel="noopener" title="“亚麻加班，谷歌养老”， 同样是码农差距也太大了！">
				<span class="desc oneline">有钱、“科技大佬”似乎是外界对大厂码农这份职业的第一印象。但若是在相亲市场转一圈，你可能会听到这样一个声音：你是码农啊？加班很多吧。    在大家的心中，“加班多”也渐渐成为了码农的一种身份属性。  ...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/JiuZhang_ninechapter">来自：	<span class="blog_title"> 九章算法的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/hebtu666/article/details/104035274" target="_blank"  rel="noopener" title="那些年，我们信了课本里的那些鬼话" data-report-click='{"mod":"popu_387","index":"38","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/hebtu666\/article\/details\/104035274"}' data-report-view='{"mod":"popu_387","index":"38","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/hebtu666\/article\/details\/104035274"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				那些年，我们信了课本里的那些鬼话		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-20</span>
				<span class="read-num hover-hide">
					阅读数 
					8765</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/hebtu666/article/details/104035274" target="_blank" rel="noopener" title="那些年，我们信了课本里的那些鬼话">
				<span class="desc oneline">教材永远都是有错误的，从小学到大学，我们不断的学习了很多错误知识。斑羚飞渡在我们学习的很多小学课文里，有很多是错误文章，或者说是假课文。像《斑羚飞渡》：随着镰刀头羊的那声吼叫，整个斑羚群迅速分成两拨，...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/hebtu666">来自：	<span class="blog_title"> hebtu666</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_36894974/article/details/104044932" target="_blank"  rel="noopener" title="一文带你看清 HTTP 所有概念" data-report-click='{"mod":"popu_387","index":"39","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_36894974\/article\/details\/104044932"}' data-report-view='{"mod":"popu_387","index":"39","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_36894974\/article\/details\/104044932"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				一文带你看清 HTTP 所有概念		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-19</span>
				<span class="read-num hover-hide">
					阅读数 
					1万+</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_36894974/article/details/104044932" target="_blank" rel="noopener" title="一文带你看清 HTTP 所有概念">
				<span class="desc oneline">上一篇文章我们大致讲解了一下 HTTP 的基本特征和使用，大家反响很不错，那么本篇文章我们就来深究一下 HTTP 的特性。我们接着上篇文章没有说完的 HTTP 标头继续来介绍（此篇文章会介绍所有标头的...</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_36894974">来自：	<span class="blog_title"> c旋儿的博客</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
<div class="recommend-item-box type_blog clearfix">
	<div class="content">
		<a href="https://blog.csdn.net/qq_35190492/article/details/104047424" target="_blank"  rel="noopener" title="【蘑菇街技术部年会】程序员与女神共舞，鼻血再次没止住。（文末内推）" data-report-click='{"mod":"popu_387","index":"40","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_35190492\/article\/details\/104047424"}' data-report-view='{"mod":"popu_387","index":"40","strategy":"BlogCommendHotData","dest":"https:\/\/blog.csdn.net\/qq_35190492\/article\/details\/104047424"}' data-report-query='depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task' >
		<h4 class="text-truncate oneline">
				【蘑菇街技术部年会】程序员与女神共舞，鼻血再次没止住。（文末内推）		</h4>
		<div class="info-box d-flex align-content-center">
			<p class="date-and-readNum oneline">
				<span class="date hover-show">01-20</span>
				<span class="read-num hover-hide">
					阅读数 
					6887</span>
				</p>
			</div>
		</a>
		<p class="content">
			<a href="https://blog.csdn.net/qq_35190492/article/details/104047424" target="_blank" rel="noopener" title="【蘑菇街技术部年会】程序员与女神共舞，鼻血再次没止住。（文末内推）">
				<span class="desc oneline">蘑菇街技术部的年会，别开生面，一样全是美女。</span>
			</a>
			<span class="blog_title_box oneline ">
									<span class="type-show type-show-blog type-show-after">博文</span>
											<a target="_blank" rel="noopener" href="https://blog.csdn.net/qq_35190492">来自：	<span class="blog_title"> 敖丙</span></a>
												</span>
		</p>
	</div>
	</div>

	
	
                    <div class="recommend-item-box type_hot_word">
                    <div class="content clearfix">
                        <div class="float-left">
                                                                                <span>
                                <a href="https://blog.csdn.net/yilovexing/article/details/80577510" target="_blank">
                                python</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/slwbcsdn/article/details/53458352" target="_blank">
                                json</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/csdnnews/article/details/83753246" target="_blank">
                                java</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/qq_35077512/article/details/88952519" target="_blank">
                                mysql</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/pdcfighting/article/details/80297499" target="_blank">
                                pycharm</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/sinyu890807/article/details/97142065" target="_blank">
                                android</a>
                            </span>
                                                        <span>
                                <a href="https://blog.csdn.net/gexiaoyizhimei/article/details/100122368" target="_blank">
                                linux</a>
                            </span>
                                                        <span>
                                <a href="https://download.csdn.net/download/xhg_gszs/10978826" target="_blank">
                                json格式</a>
                            </span>
                                                    
                                                                                <span>
                                <a href="https://www.csdn.net/gather_16/MtTaIg2sNC1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c#影院售票系统有哪些</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_10/MtTaIg2sNS1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c#鼠标相对窗体的坐标</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_18/MtTaIg2sNi1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 如何快速的求和</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1b/MtTaIg2sNy1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 界面设计</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_11/MtTaIg2sOC1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c#窗口隐藏</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1e/MtTaIg2sOS1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 动态注入il</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1c/MtTaIg3sMC1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                测试c#程序的软件</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1c/MtTaIg3sMS1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                加入队列c#</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1f/MtTaIg3sMy1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 模型验证取消</a>
                            </span>
                                                        <span>
                                <a href="https://www.csdn.net/gather_1e/MtTaIg3sNC1kb3dubG9hZAO0O0OO0O0O.html" target="_blank">
                                c# 小数点后保留4位</a>
                            </span>
                                                                            </div>
                    </div>
                    </div>
                                    <div class="recommend-loading-box">
                    <img src='https://csdnimg.cn/release/phoenix/images/feedLoading.gif'>
                </div>
                <div class="recommend-end-box">
                    <p class="text-center">没有更多推荐了，<a href="https://blog.csdn.net/" class="c-blue c-blue-hover c-blue-focus">返回首页</a></p>
                </div>
            </div>
                            <div class="template-box">
                    <span>©️2019 CSDN</span><span class="point"></span>
                <span>皮肤主题: 编程工作室</span>
                <span> 设计师:
                                            CSDN官方博客                                    </span>
                </div>
                    </main>
        <aside class="blog_container_aside">
	<!--主页引入-->

    <div id="asideProfile" class="aside-box">
    <!-- <h3 class="aside-title">个人资料</h3> -->
    <div class="profile-intro d-flex">
        <div class="avatar-box d-flex justify-content-center flex-column">
            <a href="https://blog.csdn.net/qq_38680900"  data-report-click='{"mod":"popu_379","dest":"https://blog.csdn.net/qq_38680900"}'>
                <img src="https://profile.csdnimg.cn/B/E/3/3_qq_38680900" class="avatar_pic" username='qq_38680900'>
                                    <img src="https://g.csdnimg.cn/static/user-reg-year/1x/3.png" class="user-years">
                            </a>
                    </div>
        <div class="user-info d-flex flex-column profile-intro-name-box">
            <div>
                                <span class="name csdn-tracking-statistics tracking-click "   data-report-click='{"mod":"popu_379","dest":"https://blog.csdn.net/qq_38680900"}' username='qq_38680900'>
                    <a href="https://blog.csdn.net/qq_38680900" class="" id="uid" title='脚踏实地+仰望星空'>
                    脚踏实地+仰望星空                    </a>
                </span>
            </div>
            <div class="profile-intro-name-boxFooter">
                                                <span class="personal-home-page" style='right:-96px;'><a target="_blank" href="https://me.csdn.net/qq_38680900">TA的个人主页 ></a></span>
                            </div>
        </div>
    </div>
    <div class="data-info d-flex item-tiling">
                <dl class="text-center" title="15">
                            <dt><a href="https://blog.csdn.net/qq_38680900" data-report-query="t=1">原创</a></dt>
                <dd><a href="https://blog.csdn.net/qq_38680900" data-report-query="t=1"><span class="count">15</span></a></dd>
                    </dl>
        <dl class="text-center" id="fanBox" title="5">
            <dt>粉丝</dt>
            <dd><span class="count" id="fan">5</span></dd>
        </dl>
        <dl class="text-center" title="8">
            <dt>获赞</dt>
            <dd><span class="count">8</span></dd>
        </dl>
        <dl class="text-center" title="15">
            <dt>评论</dt>
            <dd><span class="count">15</span></dd>
        </dl>
        <dl class="text-center" title="21423">
            <dt>访问</dt>
            <dd><span class="count">2万+</span></dd>
        </dl>
    </div>
    <div class="grade-box clearfix">
        <dl class="aside-box-footerClassify">
            <dt>等级:</dt>
            <dd>
                <a href="https://blog.csdn.net/home/help.html#level" title="2级,点击查看等级说明" target="_blank">
                    <svg class="icon icon-level" aria-hidden="true">
                        <use xlink:href="#csdnc-bloglevel-2"></use>
                    </svg>
                </a>
            </dd>
        </dl>
        <dl title="139626">
            <dt>周排名:</dt>
            <dd>
                <a class="grade-box-rankA" href="https://blog.csdn.net/rank/writing_rank" target="_blank">
                    13万+                </a>
            </dd>
        </dl>
        <dl>
            <dt>积分:</dt>
            <dd title="342">
                342            </dd>
        </dl>
        <dl title="202686">
            <dt>总排名:</dt>
            <dd>
                <a class="grade-box-rankA" href="https://blog.csdn.net/rank/writing_rank_total" target="_blank">
                    20万+                </a>
            </dd>
        </dl>
    </div>
    <div class="aside-box-footer">
                    <div class="badge-box d-flex">
                <div class="profile-medal">勋章:</div>
                <div class="badge d-flex">
                                                                                                        <div class="icon-badge" title="勤写标兵Lv1">
                                    <div class="mouse-box">
                                        <img src="https://csdnimg.cn/medal/qixiebiaobing1@120.png" alt="">
                                        <div class="icon-arrow"></div>
                                    </div>
                                    <div class="grade-detail-box">
                                        <div class="pos-box">
                                            <div class="left-box d-flex justify-content-center align-items-center flex-column">
                                                <img src="https://csdnimg.cn/medal/qixiebiaobing1@120.png" alt="">
                                                <p>勤写标兵Lv1</p>
                                            </div>
                                            <div class="right-box">
                                                授予每个自然周发布1篇到3篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。                                            </div>
                                        </div>
                                    </div>
                                </div>
                                                                                        </div>
                <script>
                    (function($) {
                        setTimeout(function() {
                            $('div.icon-badge.show-moment').removeClass('show-moment');
                        }, 5000);
                    })(window.jQuery)
                </script>
            </div>
                
    </div>
        <div class="profile-intro-name-boxOpration">
        <div class="opt-letter-watch-box">
                            <a class="personal-watch bt-button" id="btnAttent" data-report-click='{"mod":"popu_379"}'>关注</a>
                    </div>
        <div class='opt-letter-watch-box'>
            <a class="bt-button btn-red-hollow personal-letter" href=https://im.csdn.net/im/main.html?userName=qq_38680900 target="_blank" rel="noopener">私信</a>
        </div>
    </div>
    </div>
<script>
    function watchBtnChange(flag, username) {
        $('span.blog-expert-button-follow').each(function(index) {
            if (flag) {
                if ($(this).attr("data-name") == username) {
                    $(this).html('<span class="hover-hide">已关注</span><span class="hover-show">取消</span>').removeClass('btn-red-follow').addClass('btn-gray-follow attented');
                }
            } else {
                if ($(this).attr("data-name") == username) {
                    $(this).html("关注").addClass('btn-red-follow').removeClass('btn-gray-follow attented');
                }
            }
        })
        if (username == $('p.csdn-tracking-statistics').attr("username")) {
            if (flag) {
                $('#btnAttent').addClass("attented").text("已关注").removeClass('btn-red-hollow').addClass('btn-gray-hollow');
                changeFans(1)
            } else {
                $('#btnAttent').text("关注").addClass('btn-red-hollow').removeClass('btn-gray-hollow attented');
                changeFans(-1)
            }
        }

    }

    function changeFans(num) {
        if ($('#fan').text().indexOf('+') < 0) {
            $('#fan').text(parseInt($('#fan').text()) + num);
        } else {
            $('#fanBox').attr('title', parseInt($('#fanBox').attr('title')) + num);
        }
    }
    window.csdn = window.csdn ? window.csdn : {};
    window.csdn.watchBtnChange = watchBtnChange;
</script><div class="csdn-tracking-statistics mb8 box-shadow" data-pid="blog" data-report-click='{"mod":"popu_4"}' data-report-view='{"mod":"popu_4"}' style="height:250px;">
    <div class="aside-content text-center" id="cpro_u2734133">
        <div id="kp_box_56" data-pid="56"><script  data-ad-client="ca-pub-1076724771190722" async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 博客内页左上视窗-20181120 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="7700527946"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=56&a=703&c=0&k=&d=1&t=3&u=51d9b67395e34ee5afbb8a6e37b94a3f"></div>    </div>
</div>
<div id="asideNewArticle" class="aside-box">
    <h3 class="aside-title">最新文章</h3>
    <div class="aside-content">
        <ul class="inf_list clearfix">
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/qq_38680900/article/details/94127746"}' href="https://blog.csdn.net/qq_38680900/article/details/94127746" target="_blank" >
                                        神经网络入门及tensorflow实战                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/qq_38680900/article/details/93511611"}' href="https://blog.csdn.net/qq_38680900/article/details/93511611" target="_blank" >
                                        Python数据分析与数据科学                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/qq_38680900/article/details/89412908"}' href="https://blog.csdn.net/qq_38680900/article/details/89412908" target="_blank" >
                                        如何从安装配置node的坑中爬出                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/qq_38680900/article/details/88902001"}' href="https://blog.csdn.net/qq_38680900/article/details/88902001" target="_blank" >
                                        org.apache.spark.sql.AnalysisException: Path does not exist: hdfs://localhost/user/root/README.md;                </a>
            </li>
                        <li class="clearfix">
                <a data-report-click='{"mod":"popu_382","dest":"https://blog.csdn.net/qq_38680900/article/details/88877221"}' href="https://blog.csdn.net/qq_38680900/article/details/88877221" target="_blank" >
                                        谈谈基于CentOS7的Linux系统下装Hadoop3.2.0踩过的坑（访问不了50070以及50030，却能访问8088）                </a>
            </li>
                    </ul>
    </div>
</div>
    <div id="asideCategory" class="aside-box flexible-box"
         style="">
    <h3 class="aside-title">分类专栏</h3>
    <div class="aside-content">
        <ul>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7930071.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7930071.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_7930071.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140053667.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">ASP.NET</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">3篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7992504.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7992504.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_7992504.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918135101160.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">Sql Server</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7992505.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7992505.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_7992505.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151117521.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">WMI访问被拒绝</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8472578.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8472578.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8472578.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151124774.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">微信小程序</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">2篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8628458.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8628458.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8628458.html">
                                                    <img src="https://img-blog.csdnimg.cn/2019092715111047.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">web前端</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8700465.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8700465.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8700465.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140053667.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">JavaEE</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8720066.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8720066.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8720066.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151101105.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">MySql</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8743065.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8743065.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8743065.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140213434.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">Virtual Machine</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766046.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766046.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8766046.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151026427.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">重装系统</span>
                                                    </span>
                        <!--####是否付费-->
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766047.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766047.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8766047.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151053287.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">双系统</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766048.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766048.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8766048.html">
                                                    <img src="https://img-blog.csdnimg.cn/2019091813595558.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">文件修复</span>
                                                    </span>
                        <!--####是否付费-->
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8806130.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8806130.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8806130.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140129601.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">Hadoop</span>
                                                    </span>
                        <!--####是否付费-->
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8809994.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8809994.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8809994.html">
                                                    <img src="https://img-blog.csdnimg.cn/2019091813595558.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">Spark</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8809995.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8809995.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8809995.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151124774.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">Scala</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8877058.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8877058.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_8877058.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190918140129601.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">node.js</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_9056955.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_9056955.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_9056955.html">
                                                    <img src="https://img-blog.csdnimg.cn/2019091813595558.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">python</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">2篇</span>
                                            </a>
                </li>
                            <li class="">
                                        <a class="clearfix" 
                                                    data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_9071494.html"}'
                            data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_9071494.html"}'
                                               href="https://blog.csdn.net/qq_38680900/category_9071494.html">
                                                    <img src="https://img-blog.csdnimg.cn/20190927151124774.png" alt="">
                                                <!--####是否付费-->
                        <span class="title oneline"><span class="text">神经网络</span>
                                                    </span>
                        <!--####是否付费-->
                                                    <span class="count float-right">1篇</span>
                                            </a>
                </li>
                    </ul>
    </div>
        <p class="text-center">
        <a class="btn btn-link-blue flexible-btn" data-fbox="aside-archive">展开</a>
    </p>
    </div>
<div id="asideArchive" class="aside-box flexible-box">
    <h3 class="aside-title">归档</h3>
    <div class="aside-content">
        <ul class="archive-list">
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2019/06" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2019/06"}'>
                    2019年6月                    <span class="count float-right">3篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2019/04" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2019/04"}'>
                    2019年4月                    <span class="count float-right">1篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2019/03" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2019/03"}'>
                    2019年3月                    <span class="count float-right">4篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2019/02" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2019/02"}'>
                    2019年2月                    <span class="count float-right">1篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2019/01" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2019/01"}'>
                    2019年1月                    <span class="count float-right">1篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2018/12" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2018/12"}'>
                    2018年12月                    <span class="count float-right">3篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2018/08" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2018/08"}'>
                    2018年8月                    <span class="count float-right">3篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2017/12" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2017/12"}'>
                    2017年12月                    <span class="count float-right">1篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2017/08" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2017/08"}'>
                    2017年8月                    <span class="count float-right">1篇</span>
                </a>
            </li>
                        <!--归档统计-->
            <li>
                <a href="https://blog.csdn.net/qq_38680900/article/month/2017/07" data-report-click='{"mod":"popu_538","dest":"https://blog.csdn.net/qq_38680900/article/month/2017/07"}'>
                    2017年7月                    <span class="count float-right">1篇</span>
                </a>
            </li>
                    </ul>
    </div>
        <p class="text-center">
        <a class="btn btn-link-blue flexible-btn" data-fbox="aside-archive">展开</a>
    </p>
    </div>
<div id="asideHotArticle" class="aside-box">
	<h3 class="aside-title">热门文章</h3>
	<div class="aside-content">
		<ul class="hotArticle-list">
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/qq_38680900/article/details/82251691"}' 
                     href="https://blog.csdn.net/qq_38680900/article/details/82251691" >
                                                解决打不开SQL Server配置管理器的问题                    </a>
					<p class="read">阅读数 <span>12923</span></p>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/qq_38680900/article/details/81606155"}' 
                     href="https://blog.csdn.net/qq_38680900/article/details/81606155" >
                                                安装IIS以及配置ASP.NET流程                    </a>
					<p class="read">阅读数 <span>3912</span></p>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/qq_38680900/article/details/77752410"}' 
                     href="https://blog.csdn.net/qq_38680900/article/details/77752410" >
                                                有关按钮JButton样式设置的函数                    </a>
					<p class="read">阅读数 <span>929</span></p>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/qq_38680900/article/details/88108562"}' 
                     href="https://blog.csdn.net/qq_38680900/article/details/88108562" >
                                                ERROR 2003 （HY000）:Can&#039;t not connect to MYSQL server  on &#039;localhost&#039;.(10061)                    </a>
					<p class="read">阅读数 <span>816</span></p>
				</li>
							<li>

                    <a
                    data-report-click='{"mod":"popu_541","dest":"https://blog.csdn.net/qq_38680900/article/details/88902001"}' 
                     href="https://blog.csdn.net/qq_38680900/article/details/88902001" >
                                                org.apache.spark.sql.AnalysisException: Path does not exist: hdfs://localhost/user/root/README.md;                    </a>
					<p class="read">阅读数 <span>694</span></p>
				</li>
					</ul>
	</div>
</div>
<div id="asideNewComments" class="aside-box">
    <h3 class="aside-title">最新评论</h3>
    <div class="aside-content">
        <ul class="newcomment-list">
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/qq_38680900/article/details/82251691#comments"}'  target="_blank" href="https://blog.csdn.net/qq_38680900/article/details/82251691#comments">解决打不开SQL Server配置...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/snowwest" class="user-name" target="_blank">snowwest：</a>路径是对的，管理员CMD状态下还是找不到文件。怎么办？                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/qq_38680900/article/details/77752410#comments"}'  target="_blank" href="https://blog.csdn.net/qq_38680900/article/details/77752410#comments">有关按钮JButton样式设置的函数</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/alazyperson" class="user-name" target="_blank">alazyperson：</a>请问setDisabledIcon(disabledIcon)方法中的disabledIco有没有什么限制吗？                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/qq_38680900/article/details/82251691#comments"}'  target="_blank" href="https://blog.csdn.net/qq_38680900/article/details/82251691#comments">解决打不开SQL Server配置...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/weixin_44289758" class="user-name" target="_blank">weixin_44289758：</a>[reply]qq_42818329[/reply]
去掉冒号前面的exe                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/qq_38680900/article/details/88902001#comments"}'  target="_blank" href="https://blog.csdn.net/qq_38680900/article/details/88902001#comments">org.apache.spark....</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/xxxkenanxxx" class="user-name" target="_blank">xxxkenanxxx：</a>但是，这是为啥，路径也没错啊                </p>
            </li>
                        <li>
                <a class="title text-truncate" data-report-click='{"mod":"popu_542","dest":"https://blog.csdn.net/qq_38680900/article/details/82251691#comments"}'  target="_blank" href="https://blog.csdn.net/qq_38680900/article/details/82251691#comments">解决打不开SQL Server配置...</a>
                <p class="comment ellipsis">
                    <a href="https://my.csdn.net/weixin_43690204" class="user-name" target="_blank">weixin_43690204：</a>我第六步都完成了，但是还是打不开配置管理器，改了好几次了，都不行                </p>
            </li>
                    </ul>
    </div>
</div>
	<div id="asideFooter">
                    <div class="aside-box">
                <div id="kp_box_57" data-pid="57"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 博客内页左下视窗-20181130 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-1076724771190722"
     data-ad-slot="1894159733"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=57&a=707&c=0&k=&d=1&t=3&u=1ab7496f97084e19b30c35a749c1f98c"></div>            </div>
        		<div class="aside-box">
			<div class="persion_article">
			</div>
		</div>
	</div>
</aside>
<script src="https://csdnimg.cn/pubfooter/js/publib_footer-1.0.3.js" data-isfootertrack="false" type="text/javascript"></script>
<script>
	$("a.flexible-btn").click(function(){
		$(this).parents('div.aside-box').removeClass('flexible-box');
		$(this).parents("p.text-center").remove();
	})
</script>
<script src="https://g.csdnimg.cn/user-tooltip/1.9/user-tooltip.js"  type="text/javascript"></script>
    </div>
                <div class="recommend-right  align-items-stretch clearfix">
      <aside class="recommend-right_aside">
        <div id="recommend-right" style="height:100%;">
          <div class='d-flex flex-column aside-box groupfile' id="groupfile">
            <h3 class="aside-title">目录</h3>
            <div class="align-items-stretch group_item">
              <div class="toc-container">
              <div class="pos-box">
                <div class="icon-arrow"></div>
                <div class="scroll-box">
                  <div class="toc-box"></div>
                </div>
              </div>
            </div>
          </div>
          </div>
                        <div id="addAdBox" style="display:none">
                  <div id="kp_box_479" data-pid="479"><script type="text/javascript">
        (function() {
            var s = "_" + Math.random().toString(36).slice(2);
            document.write('<div style="" id="' + s + '"></div>');
            (window.slotbydup = window.slotbydup || []).push({
                id: "u4269298",
                container: s
            });
        })();
</script>
<!-- 多条广告如下脚本只需引入一次 -->
<script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/c.js" async="async" defer="defer" >
</script><img class="pre-img-lasy" data-src="https://kunyu.csdn.net/1.png?p=479&a=1440&c=0&k=&d=1&t=3&u=aededdf4996c4c4a8124db9ea93626c2"></div>              </div>
                    <div class='aside-box kind_person d-flex flex-column'>
          <h3 class="aside-title">分类专栏</h3>
              <div class="align-items-stretch kindof_item">
                <div class="aside-content">
                  <ul>
                                        <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7930071.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7930071.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_7930071.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140037908.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">ASP.NET</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">3篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7992504.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7992504.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_7992504.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140158853.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">Sql Server</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7992505.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_7992505.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_7992505.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151053287.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">WMI访问被拒绝</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8472578.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8472578.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8472578.html">
                                                                <img src="https://img-blog.csdnimg.cn/2019091813595558.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">微信小程序</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">2篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8628458.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8628458.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8628458.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151026427.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">web前端</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8700465.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8700465.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8700465.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151043371.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">JavaEE</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8720066.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8720066.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8720066.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151043371.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">MySql</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8743065.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8743065.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8743065.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140012416.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">Virtual Machine</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766046.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766046.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8766046.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918135101160.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">重装系统</span>
                                                                </span>
                              <!--####是否付费-->
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766047.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766047.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8766047.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151132530.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">双系统</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766048.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8766048.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8766048.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151101105.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">文件修复</span>
                                                                </span>
                              <!--####是否付费-->
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8806130.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8806130.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8806130.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140037908.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">Hadoop</span>
                                                                </span>
                              <!--####是否付费-->
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8809994.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8809994.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8809994.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140213434.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">Spark</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8809995.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8809995.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8809995.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151132530.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">Scala</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8877058.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_8877058.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_8877058.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190918140158853.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">node.js</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_9056955.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_9056955.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_9056955.html">
                                                                <img src="https://img-blog.csdnimg.cn/20190927151026427.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">python</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">2篇</span>
                                                        </a>
                      </li>
                                          <li class="">
                                                    <a class="clearfix" 
                                                        data-report-click='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_9071494.html"}'
                              data-report-view='{"mod":"popu_537","strategy":"","dest":"https://blog.csdn.net/qq_38680900/category_9071494.html"}'
                                                      href="https://blog.csdn.net/qq_38680900/category_9071494.html">
                                                                <img src="https://img-blog.csdnimg.cn/2019092715111047.png" alt="">
                                                            <!--####是否付费-->
                              <span class="title oneline"><span class="text">神经网络</span>
                                                                </span>
                              <!--####是否付费-->
                                                                <span class="count float-right">1篇</span>
                                                        </a>
                      </li>
                                      </ul>
              </div>
              </div>
              
          </div>
      </div>
      </aside>  
    </div>
    
    </div>
<div class="mask-dark"></div>
<div class="tool-box vertical">
	<ul class="meau-list">
		<li class="btn-like-box ">
			<button class=" low-height hover-box btn-like " title="点赞">
				<svg class="icon active hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-thumbsup-ok"></use>
				</svg>
				<svg class="icon no-active hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-thumbsup"></use>
				</svg>
				<span class="hover-show text-box text">
					<span class="no-active">点赞</span>
					<span class="active">取消点赞</span>
				</span>
				<p id="supportCount"></p>
			</button>
		</li>
		<li class="to-commentBox" id = 'sharePost' data-report-click='{"mod":"popu_794","dest":"https://blog.csdn.net/qq_38680900/article/details/93481544"}'>
			<a class="btn-comments low-height hover-box" >
				<svg class="icon hover-hide" aria-hidden="true" style="padding-top: 3px;">
					<use xlink:href="#icon-csdnc-fenxiang"></use>
				</svg>
				<span class="hover-show text">海报</span>
				<p class="">
				</p>
			</a>
		</li>
		<li class="to-commentBox">
						<a class="btn-comments low-height hover-box" title="写评论" href="#commentBox">
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-comments"></use>
				</svg>
				<span class="hover-show text">评论</span>
				<p class="">
										</p>
			</a>
		</li>
		<li class="toc-container-box" id="liTocBox">
			<a class="btn-toc low-height hover-box btn-comments" title="目录">
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-contents"></use>
				</svg>
				<span class="hover-show text">目录</span>
			</a>
			<div class="toc-container">
				<div class="pos-box">
					<div class="icon-arrow"></div>
					<div class="scroll-box">
						<div class="toc-box"></div>
					</div>
				</div>
				<div class="opt-box">
					<button class="btn-opt prev nomore" title="向上">
						<svg class="icon" aria-hidden="true">
							<use xlink:href="#csdnc-chevronup"></use>
						</svg>
					</button>
					<button class="btn-opt next">
						<svg class="icon" aria-hidden="true">
							<use xlink:href="#csdnc-chevrondown"></use>
						</svg>
					</button>
				</div>
			</div>

		</li>
		<li>
			<a class="btn-bookmark low-height hover-box btn-comments"  data-report-click='{"mod":"popu_824"}' title="收藏">
				<svg class="icon active hover-hide" aria-hidden="true" style="padding-top: 2px;">
					<use xlink:href="#icon-shoucangjia"></use>
				</svg>
				<svg class="icon no-active hover-hide" aria-hidden="true" style="padding-top: 2px;">
					<use xlink:href="#icon-csdnc-Collection-G" ></use>
				</svg>
					<span class="hover-show text">收藏</span>
				<!-- <span class="hover-show text-box text">
					<span class="no-active">收藏</span>
					<span class="active">取消收藏</span>
				</span> -->
			</a>
		</li>
		<li class="bdsharebuttonbox">
			<div class="weixin-qr btn-comments low-height hover-box" >
				<a id="btnQrShare" class="bds_weixin clear-share-style" data-report-click='{"mod":"popu_831","dest":""}'  title="手机看"></a>
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-usephone"></use>
				</svg>
				<span class="hover-show text text3">
					手机看
				</span>
			</div>
		</li>
							<li class="widescreen-hide">
				<a class="prev btn-comments low-height hover-box" href="https://blog.csdn.net/qq_38680900/article/details/89412908" title="如何从安装配置node的坑中爬出">
					<svg class="icon hover-hide" aria-hidden="true">
						<use xlink:href="#csdnc-chevronleft"></use>
					</svg>
					<span class="hover-show text text3">上一篇</span>
				</a>
			</li>
								<li class="widescreen-hide">
			<a class="next btn-comments hover-box low-height" href="https://blog.csdn.net/qq_38680900/article/details/93511611" title="Python数据分析与数据科学">
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-chevronright"></use>
				</svg>
				<span class="hover-show text text3">下一篇</span>
			</a>
		</li>
						<!-- 宽屏更多按钮 -->
		<li class="widescreen-more">
			<a class="btn-comments chat-ask-button low-height hover-box" title="快问" href="#chatqa">
				<svg class="icon hover-hide" aria-hidden="true">
					<use xlink:href="#csdnc-more"></use>
				</svg>
				<span class="hover-show text">更多</span>

			</a>
			<ul class="widescreen-more-box">
													<li class="widescreen-more">
						<a class="btn-comments low-height hover-box" href="https://blog.csdn.net/qq_38680900/article/details/89412908" title="如何从安装配置node的坑中爬出">
							<svg class="icon hover-hide" aria-hidden="true">
								<use xlink:href="#csdnc-chevronleft"></use>
							</svg>
							<span class="hover-show text text3">上一篇</span>
						</a>
					</li>
																<li class="widescreen-more">
					<a class="btn-comments hover-box low-height" href="https://blog.csdn.net/qq_38680900/article/details/93511611" title="Python数据分析与数据科学">
						<svg class="icon hover-hide" aria-hidden="true">
							<use xlink:href="#csdnc-chevronright"></use>
						</svg>
						<span class="hover-show text text3">下一篇</span>
					</a>
				</li>
							</ul>
		</li>
        		<li class="to-commentBox to-reward">
			<a class="btn-comments low-height hover-box" data-report-click='{"mod":"popu_830" "dest":""}'  title="打赏">
				<svg class="hover-hide" width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
					<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
						<g transform="translate(-1398.000000, -486.000000)" fill-rule="nonzero">
							<g transform="translate(1398.000000, 486.000000)">
								<path d="M0,12 C0,16.287187 2.287187,20.2487113 6,22.3923048 C9.7128129,24.5358984 14.2871871,24.5358984 18,22.3923048 C21.712813,20.2487113 24,16.287187 24,12 C24,5.37258296 18.627417,0 12,0 C5.372583,0 0,5.37258296 0,12 Z" id="路径" fill-opacity="0.3" fill="#FF5A52"></path>
								<path d="M2.09340659,11.9505494 C2.09340659,15.4721673 3.97216734,18.7262766 7.02197798,20.4870856 C10.0717886,22.2478946 13.8293103,22.2478946 16.8791209,20.4870856 C19.9289316,18.7262766 21.8076923,15.4721673 21.8076923,11.9505494 C21.8076923,6.50659974 17.3944991,2.09340659 11.9505495,2.09340659 C6.50659977,2.09340659 2.09340659,6.50659974 2.09340659,11.9505494 Z" id="路径" fill="#F63D47"></path>
								<path d="M11.3005025,5.28638434 L12.7115578,5.28638434 L12.7115578,6.87854416 L14.1105528,6.87854416 C14.4,6.39607148 14.6592965,5.89550609 14.8884422,5.37081705 L16.1849246,5.82313519 C15.99799,6.23926787 15.7929648,6.58906055 15.5758794,6.88457507 L18,6.88457507 L18,9.84575109 L16.6733668,9.84575109 L16.6733668,8.03647857 L7.33869347,8.03647857 L7.33869347,9.85781291 L6,9.85781291 L6,6.87854416 L8.51457286,6.87854416 C8.31557789,6.52875147 8.08040201,6.1910206 7.80904523,5.86535155 L9.08140703,5.4009716 C9.39497488,5.80504246 9.67236181,6.29957695 9.92562814,6.88457507 L11.3065327,6.88457507 L11.3065327,5.28638434 L11.3005025,5.28638434 Z M12.8571429,13.9657994 C12.6552823,15.5675992 12.2332101,16.6234672 11.5848095,17.1394027 C10.8813559,17.8053195 9.1991844,18.2312662 6.54441188,18.4292415 L6,17.2233922 C8.22046642,17.1394027 9.68854339,16.8454395 10.3919969,16.3415024 C11.0098127,15.8735609 11.3768319,15.0456644 11.4930547,13.8578129 L12.8571429,13.9657994 Z M16.8571429,12.1435272 L16.8571429,15.9892245 L15.5161905,15.9892245 L15.5161905,13.3067319 L9.05523809,13.3067319 L9.05523809,16.1435272 L7.71428571,16.1435272 L7.71428571,12.1435272 L16.8571429,12.1435272 L16.8571429,12.1435272 Z M8.28571429,8.71495577 L15.7142857,8.71495577 L15.7142857,11.5720986 L8.28571429,11.5720986 L8.28571429,8.71495577 L8.28571429,8.71495577 Z M14.5714286,10.4292415 L14.5714286,9.28638434 L10,9.28638434 L10,10.4292415 L14.5714286,10.4292415 Z M12.9579832,16.1435272 C14.8187275,16.4853162 16.4993998,16.9018717 18,17.3931934 L17.2436975,18.4292415 C15.635054,17.8311106 13.9783914,17.3664911 12.2857143,17.0407235 L12.9579832,16.1435272 L12.9579832,16.1435272 Z" id="形状" fill="#FFFFFF"></path>
							</g>
						</g>
					</g>
				</svg>
				<span class="hover-show text">打赏</span>
			</a>
							<div id="reward" class="reward-box">
	<p class="rewad-title">打赏<span class="reward-close"><svg t="1567152543821" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10924" xmlns:xlink="http://www.w3.org/1999/xlink" width="12" height="12"><defs><style type="text/css"></style></defs><path d="M512 438.378667L806.506667 143.893333a52.032 52.032 0 1 1 73.6 73.621334L585.621333 512l294.485334 294.485333a52.074667 52.074667 0 0 1-73.6 73.642667L512 585.621333 217.514667 880.128a52.053333 52.053333 0 1 1-73.621334-73.642667L438.378667 512 143.893333 217.514667a52.053333 52.053333 0 1 1 73.621334-73.621334L512 438.378667z" fill="" p-id="10925"></path></svg></span></p>
	<dl>
		<dd><a href="javascript:;"><img src="https://profile.csdnimg.cn/B/E/3/3_qq_38680900" alt=""></a></dd>
		<dt>
			<p class="blog-name">脚踏实地+仰望星空</p>
			<p class="blog-discript">“你的鼓励将是我创作的最大动力”</p>
		</dt>
	</dl>
	<div class="money-box">
        			            	<span class="choosed choose_money" data-id="5">5C币</span>
			        							<span class="choose_money" data-id="10">10C币</span>
			        							<span class="choose_money" data-id="20">20C币</span>
			        							<span class="choose_money" data-id="50">50C币</span>
			        							<span class="choose_money" data-id="100">100C币</span>
			        							<span class="choose_money" data-id="200">200C币</span>
			        	</div>
	<div class="sure-box">
		<p class="is-have-money"><a class="reward-sure">确定</a></p>
	</div>
</div>

					</li>
        	</ul>
</div>
<div id = 'tool-post-common'>
	<div class = 'tool_post_box'>
		<img class = 'tool_post_img' src="https://csdnimg.cn/release/phoenix/write/assets/postShareBack.png" alt="">
		<div id = 'shareCode'></div>
	</div>
</div>
<div id="share-bg-shadow">
<div id="share-qrcode-box">
    <h3>分享到微信朋友圈</h3>
    <div class='qrcode-img-box'>
        <a class="btn-close">×</a>
        <div id='shareQrCode'></div>
	</div>
    <p>扫一扫，手机浏览</p>
</div>
</div>
<script>
		var imgReal = new Image();
		imgReal.src = "https://csdnimg.cn/release/phoenix/write/assets/postShareBack.png"
</script>
<script type=text/javascript crossorigin src="https://csdnimg.cn/release/phoenix/production/qrcode-7c90a92189.min.js"></script>
<script type=text/javascript crossorigin src="https://csdnimg.cn/release/phoenix/production/icon-1349369f06.js"></script>
<script src="//g.csdnimg.cn/??sharewx/1.2.1/sharewx.js" type="text/javascript"></script>
<script type="text/javascript" crossorigin src="https://g.csdnimg.cn/collection-box/1.1.7/collection-box.js"></script><script>
    var recommendCount = 40;
    recommendCount = recommendCount > 1 ? (recommendCount + (recommendCount>6 ? 2 : 1)) : recommendCount;
    var ChannelId = 16;
    var articleId = "93481544";
    var commentscount = 0;
    var islock = false;
    var curentUrl = "https://blog.csdn.net/qq_38680900/article/details/93481544";
    var myUrl = "https://my.csdn.net/";
    //1禁止评论，2正常
    var commentAuth = 2;
    //百度搜索
    var baiduKey = "python入门、基础知识及运行环境布置_Python_qq_38680900的博客-CSDN博客";
    var needInsertBaidu = true;
    // 代码段样式
    var codeStyle = 'atom-one-dark';
	var highlight = ["python","\u5165\u95e8","\u57fa\u7840\u77e5\u8bc6","\u8fd0\u884c","\u73af\u5883","\u5e03\u7f6e"];//高亮数组

    var share_card_url = 'https://blog.csdn.net/qq_38680900/article/shareArticleCardPage?article_id=93481544'
    var RecommendBlogExpertList = [{"user_name":"blue0bird","nick_name":"blue0bird","avatar":"https:\/\/profile.csdnimg.cn\/8\/5\/1\/3_blue0bird","is_expert":false,"article_count":37,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"qq_39052513","nick_name":"AllanTian","avatar":"https:\/\/profile.csdnimg.cn\/6\/F\/A\/3_qq_39052513","is_expert":false,"article_count":7,"rank":"\u5343\u91cc\u4e4b\u5916"},{"user_name":"qq_44543508","nick_name":"\u5b9c\u6625","avatar":"https:\/\/profile.csdnimg.cn\/7\/1\/6\/3_qq_44543508","is_expert":false,"article_count":157,"rank":"2000+"},{"user_name":"m0_37907797","nick_name":"\u5e05\u5730","avatar":"https:\/\/profile.csdnimg.cn\/9\/8\/5\/3_m0_37907797","is_expert":true,"article_count":79,"rank":"260"},{"user_name":"kebi007","nick_name":"dotnet\u5168\u6808\u5f00\u53d1","avatar":"https:\/\/profile.csdnimg.cn\/3\/4\/1\/3_kebi007","is_expert":true,"article_count":145,"rank":"1000+"},{"user_name":"qq_34337272","nick_name":"SnailClimb\u5728csdn","avatar":"https:\/\/profile.csdnimg.cn\/5\/A\/F\/3_qq_34337272","is_expert":true,"article_count":256,"rank":"1000+"},{"user_name":"u013486414","nick_name":"Rocky0429","avatar":"https:\/\/profile.csdnimg.cn\/3\/E\/B\/3_u013486414","is_expert":true,"article_count":627,"rank":"461"},{"user_name":"qq_36894974","nick_name":"cxuann","avatar":"https:\/\/profile.csdnimg.cn\/E\/5\/9\/3_qq_36894974","is_expert":true,"article_count":86,"rank":"9000+"},{"user_name":"ThinkWon","nick_name":"ThinkWon","avatar":"https:\/\/profile.csdnimg.cn\/0\/B\/6\/3_thinkwon","is_expert":true,"article_count":248,"rank":"2000+"}];
	var articleType = 1;
	var CopyrightContent = '';
    </script>
<script src="https://csdnimg.cn/public/sandalstrap/1.4/js/sandalstrap.min.js"></script>
<script src="https://csdnimg.cn/release/phoenix/vendor/pagination/paging-3d3b805766.js"></script>
<div class="skin-boxshadow"></div>
<div style="display:none;">
	<img src="" onerror='setTimeout(function(){if(!/(csdn.net|iteye.com|baiducontent.com|googleusercontent.com|360webcache.com|sogoucdn.com|bingj.com|baidu.com)$/.test(window.location.hostname)){window.location.href="\x68\x74\x74\x70\x73\x3a\x2f\x2f\x77\x77\x77\x2e\x63\x73\x64\x6e\x2e\x6e\x65\x74"}},3000);'>
</div>
</body>
    <!-- 高亮未与 markdown兼容  -->
	<link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.6.0/ckeditor/plugins/chart/chart.css" />
	<script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.6.0/ckeditor/plugins/chart/lib/chart.min.js"></script>
    <script type="text/javascript" src="https://csdnimg.cn/release/blog_editor_html/release1.6.0/ckeditor/plugins/chart/widget2chart.js"></script>
    <script type="text/javascript" src="https://csdnimg.cn/release/phoenix/production/pc_wap_common-f91259fb12.js"></script>
<link rel="stylesheet" href="https://csdnimg.cn/release/blog_editor_html/release1.6.0/ckeditor/plugins/codesnippet/lib/highlight/styles/atom-one-dark.css">
<script>
 // 全局声明
 if (window.csdn === undefined) {
      window.csdn = {};
    }
    window.csdn.sideToolbar = {
        options: {
            report:{
                isShow: true,
            },
            qr: {
                isShow: false,
            }
        }
    }
    $(function(){
        $(document).on('click',"a.option-box[data-type='report']",function() {
            window.csdn.userLogin.loadAjax(function(res){
                showReport(false,articleTitles);
            })
        });
    })
</script>
<script src="https://csdnimg.cn/release/phoenix/vendor/iconfont/csdnc-c439e66521.js"></script>
<script src="https://csdnimg.cn/release/phoenix/template/js/common-da450fe83c.min.js"></script>
<script src="https://csdnimg.cn/release/phoenix/template/js/detail-aaf31e4d6c.min.js"></script>
	<script src="https://csdnimg.cn/release/phoenix/themes/skin-yellow/skin-yellow-e2b6be7b58.min.js"></script>
<script src="https://g.csdnimg.cn/copyright/1.0.3/copyright.js" type="text/javascript"></script>
<script type="text/javascript"  src="https://g.csdnimg.cn/??login-box/1.1.1/30/login-box.js,login-box/1.1.1/30/login-auto.js"></script>
<script>
    $(".MathJax").remove();
    if ($('div.markdown_views pre.prettyprint code.hljs').length > 0) {
        $('div.markdown_views')[0].className = 'markdown_views';
    }
</script>
<script type="text/javascript" src="https://csdnimg.cn/release/blog_mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
    MathJax.Hub.Config({
            "HTML-CSS": {
                    linebreaks: { automatic: true, width: "94%container" },
                    imageFont: null
            },
            tex2jax: {
                preview: "none"
            },
            mml2jax: {
                preview: 'none'
            }
    });
</script>
    <script src="//g.csdnimg.cn/baidu-search/1.0.2/baidu-search.js"  type="text/javascript"></script>
</html>
